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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Dexrend
Frequent Visitor

Counting words from list to make Bar Graph.

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:

Dexrend_0-1630498394854.png

Dexrend_1-1630498495750.png

Dexrend_2-1630498591113.png

 

 

2 ACCEPTED SOLUTIONS
v-xulin-mstf
Community Support
Community Support

Hi @Dexrend

 

Split column by ',':

vxulinmstf_0-1630917592508.png

Unpivot columns as:

vxulinmstf_1-1630917635656.pngvxulinmstf_2-1630917654033.pngvxulinmstf_3-1630917667842.png

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:

vxulinmstf_4-1630917818743.png

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!

 

View solution in original post

Dexrend
Frequent Visitor

Thanks! That is exalty what i needed.

View solution in original post

2 REPLIES 2
Dexrend
Frequent Visitor

Thanks! That is exalty what i needed.

v-xulin-mstf
Community Support
Community Support

Hi @Dexrend

 

Split column by ',':

vxulinmstf_0-1630917592508.png

Unpivot columns as:

vxulinmstf_1-1630917635656.pngvxulinmstf_2-1630917654033.pngvxulinmstf_3-1630917667842.png

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:

vxulinmstf_4-1630917818743.png

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!

 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors