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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Count values in a column

Hello, 

I am pretty new to Power BI and I am more used to MS Excel. 

I am trying to get Power BI to count the number of times each of these values repeats in each column. Each row represents a survey-taker, but I want to show the total count by requirement (1.1, 1.2, 1.3, etc)

Ralv15389_0-1656495548191.png

and then I would like to add a visual to show data, something like this: 

Ralv15389_1-1656496870501.png

 

I was able to do this pretty easily in excel with a composite "countif" formula but I haven't been able to find a way to this in Power BI. Can someone offer some guidance? thanks!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

Please use unpivot feature in Power Query Editor:

Before:

vjaywmsft_0-1657097770832.png

After:

vjaywmsft_1-1657097784984.png

Create the visual:

vjaywmsft_2-1657097813277.png

 

Best Regards,

Jay

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous ,

 

Please use unpivot feature in Power Query Editor:

Before:

vjaywmsft_0-1657097770832.png

After:

vjaywmsft_1-1657097784984.png

Create the visual:

vjaywmsft_2-1657097813277.png

 

Best Regards,

Jay

amitchandak
Super User
Super User

@Anonymous , My advice would be to unpivot those columns and post that you can count

 

https://radacad.com/pivot-and-unpivot-with-power-bi
If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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
Top Kudoed Authors