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
tiztrain
Helper I
Helper I

Graphing a Column with Multiple Values in One Field

Hi,

So I have a field that has multiple values captured in the column seperated by a comma.

3rdpartworks,encroachment,midas,sms,stakeholder,tenure
encroachment
3rdpartworks,encroachment
3rdpartworks,encroachment,midas,tenure
3rdpartworks,encroachment,midas,sms,stakeholder,tenure
3rdpartworks
3rdpartworks
 
3rdpartworks
....

 

I am wanting to be able to report it in a chart like below which counts the amount of times the value in the column.

chart.jpg

 

 

I have thought about what is the best way to approach this task. I was thinking that I could use power query just to split out all the values using the comma as the deliminator. Then I could count all the columns up and that would be the result. The only issue there is the ordering of the split out values. In one row, "3rd Party" could be the first value and in the next "Encroachment" could be the first value.

 

Instead, I thought about using the "Card" widget and display the count of each value in a seperate widget but I don't like that option as much.

2 ACCEPTED SOLUTIONS
jameszhang0805
Resolver IV
Resolver IV

unpivot the table after you splited column. then create measure countrows(table). put the dimension column and measure into chart

View solution in original post

stevedep
Memorable Member
Memorable Member
3 REPLIES 3
tiztrain
Helper I
Helper I

Thanks guys.

Man that GIF makes things easy to follow these days

stevedep
Memorable Member
Memorable Member
jameszhang0805
Resolver IV
Resolver IV

unpivot the table after you splited column. then create measure countrows(table). put the dimension column and measure into chart

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!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

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.