cancel
Showing results for 
Search instead for 
Did you mean: 
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
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

BizApps LATAM 2023

Business Application LATAM Summit 2023

Join the biggest FREE Business Applications Event in LATAM this February.

Power Platform Bootcamp

Global Power Platform Bootcamp

In this bootcamp we will deep-dive into Microsoft’s Power Platform stack with hands-on sessions and labs, delivered to you by experts and community leaders.

Top Solution Authors
Top Kudoed Authors