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
AA364
Regular Visitor

Counting Text across multiple columns

I'm pretty new to Power Bi - I have a data set that contains multiple strengths (ie strength 1, strength 2, strength 3 etc) along with other columns (name, function, etc). The strengths are from a set list of 34 possible words - I'm trying to create a visual to see the count of each word across all strength columns. Is that possible? Does this even make sense - in excel I would use the COUNTIF function and link it back to the strength and create a new table - but I'm struggling with doing the same in Power Bi

1 REPLY 1
amitchandak
Super User
Super User

@AA364 , One is you can unpivot all the columns in power query and then you will all strength in rows with their name

https://radacad.com/pivot-and-unpivot-with-power-bi

 

Another join a strength dimension to all strength columns, You will have 1 active and the rest inactive join. Use userelationship to create count measures

 

https://radacad.com/userelationship-or-role-playing-dimension-dealing-with-inactive-relationships-in...

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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