Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
I have a List of items that need to be counted and put into a bar graph in Power BI, but The data has some items combined in the same Excel Cell. How can i count the items from the list in the data and display them separately?
example:
Solved! Go to Solution.
Hi @Dexrend
Split column by ',':
Unpivot columns as:
Create List table:
List =
VALUES('Table'[Value])
Create measure as:
Measure =
CALCULATE(
COUNT('Table'[Value]),
FILTER(
'Table','Table'[Value]=MAX(List[Value])
)
)
Here is the outptu:
The demo is attached, please try it.
If you still have some question, please don't hesitate to let me known.
Best Regards,
Link
Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution. Really appreciate!
Thanks! That is exalty what i needed.
Hi @Dexrend
Split column by ',':
Unpivot columns as:
Create List table:
List =
VALUES('Table'[Value])
Create measure as:
Measure =
CALCULATE(
COUNT('Table'[Value]),
FILTER(
'Table','Table'[Value]=MAX(List[Value])
)
)
Here is the outptu:
The demo is attached, please try it.
If you still have some question, please don't hesitate to let me known.
Best Regards,
Link
Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution. Really appreciate!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
82 | |
81 | |
52 | |
39 | |
35 |
User | Count |
---|---|
95 | |
79 | |
52 | |
49 | |
47 |