Forum Discussion
dwedding3
3 years agoFrequent Visitor
Help creating a bar graph that counts values found in strings
Hello! Here's the issue I'm having: So I have a column that contains multiple values in each cell, and I need to measure the total number of times a specific value appears in said column. For...
- 3 years ago
In Power query, add a column like this:
= Text.Split([Flag_Colors], "|")
Expand the list column.
Add a column with the value 1.
Sum that column in your visual with the Color name as the legend value or as a column in the table or whatever the case may be.
IF this messes with other data in your report, then make a copy of the table first and then do this.
kpost
3 years agoSolution Sage
In Power query, add a column like this:
= Text.Split([Flag_Colors], "|")
Expand the list column.
Add a column with the value 1.
Sum that column in your visual with the Color name as the legend value or as a column in the table or whatever the case may be.
IF this messes with other data in your report, then make a copy of the table first and then do this.