Forum Discussion
How to display comma separated column value in diff rows in table visual ?
- 1 year ago
Hi pratikrami ,
Sure there is another way. This is the joy of Power BI and data modeling. You can to following:
- On the table (right side), duplicate the table and take only the ID and sites columns.
- Split by columns
- In the first table, you can delete the sites column as this is expanded already in the second table
- Once the data is refreshed you can connect the two tables using ID field
You now have 2 tables, one including ID, Emp_Name and other attributes and a second with just ID and site (expanded.
Hi pratikrami -Please follow the steps at power query editor.
Select the SITES column.
On the ribbon, choose Split Column > By Delimiter.
In the dialog:
Choose Comma ( , ) as delimiter.
Select Split into Rows (not columns).
output:
file FYR attached