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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors