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,
In the Power Query windows, where you prepare the data, you can split the column:
And in the settings spit it into rows:
For each comma separated value, it generate a record:
Regards,
Oktay
If it helped you, would appreciate a KUDOS and mark my answer as a solution 😉