Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
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!