Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
pratikrami
Regular Visitor

How to display comma separated column value in diff rows in table visual ?

I have below table structure. I nmy dashboard I have added slicer for EMP_NAME. on selection of any EMP, I neeed to display SITES related to it in table visual. how can I display each site in diff row in table visual ?

 

IDEMP_NAMESITES
1abc15887910,15821052,15994012,15210925
2def15887910,15821052,15994012
3ghi15887910,15821052,15994012
1 ACCEPTED SOLUTION

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.

 

View solution in original post

4 REPLIES 4
pratikrami
Regular Visitor

Hi @OktayPamuk80 ,

 

Thanks for quick reposnse. So this is the only way ..right ? Because I have other columns also in main table I wanted to avoid these expansion of rows. Is there any way using measure or anything, directly without increasing the rows and we can use the same comma seperated text field in table visual ?

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.

 

rajendraongole1
Super User
Super User

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).

 

rajendraongole1_0-1755700158387.png

 

output:

rajendraongole1_1-1755700179246.png

 

file FYR attached

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





OktayPamuk80
Responsive Resident
Responsive Resident

Hi,

In the Power Query windows, where you prepare the data, you can split the column:

OktayPamuk80_0-1755699939764.png

 

And in the settings spit it into rows:

OktayPamuk80_1-1755699970457.png

 

For each comma separated value, it generate a record:

OktayPamuk80_2-1755699993831.png

Regards,

Oktay

 

If it helped you, would appreciate a KUDOS and mark my answer as a solution 😉 

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.