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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

Table with count in each percentage range/bucket

Hello,


Please see the screenshot below. I have a list of managers with different scores (percentages). I want to take the count of managers in each percentage range and show in a table/matrix. What is the best way to display this in Power BI? Thx!!

 

sp91_0-1653488198056.png

 

11 REPLIES 11
Anonymous
Not applicable

HI @Anonymous,

It sounds like a segment related requirement, you can take a look at the following blog about dynamic segmentation if helps:

Dynamic segmentation – DAX Patterns

For conditional formatting, you can write a measure formula to calculate the aggregate value, then you can use it as a condition to return different color codes and use it in color formatting.

Conditional table formatting in Power BI Desktop - Power BI | Microsoft Docs

Regards,

Xiaoxin Sheng

Anonymous
Not applicable

JamesFr06_0-1653490456592.png

 

Anonymous
Not applicable

Hi,


That doesn't work. It just shows the manager names, not a count 

 

sp91_0-1653492287454.png

 

Anonymous
Not applicable

Also the score is based on an average of several scores, not just 1. Not sure how to count/summarize this?

Anonymous
Not applicable

In you exemple the names of manager was not in the display.

But anyway to have the count, you have to put the field manager with a count on choice

JamesFr06_0-1653493387861.png

 

Anonymous
Not applicable

Here's a better snapshot of the data in a matrix. I don't have the count option as a dropdown. Manager is in rows, testyswitch (which buckets the scores) is in values. If I drop down values in Visualizations, I see no Count

 

sp91_0-1653495015327.png

 

Anonymous
Not applicable

JamesFr06_1-1653496036559.png

JamesFr06_2-1653496060464.png

choose count

Anonymous
Not applicable

Hi,


that doesn't show up in the dropdown ( see below). and I can't  switch manager to values, and testyswitch to rows (it won't allow it).

 

sp91_0-1653499252422.png

 

Anonymous
Not applicable

Sp try to send me uor pbix if you can

Anonymous
Not applicable

 

 

adda column to your table

Score Bucket =
SWITCH(true(),Manager[Score]<0.6,">60%",
Manager[Score]<=0.65,"60%-65%",
Manager[Score]<=0.7,"65%-70%",
Manager[Score]<=0.75,"70%-75%",
Manager[Score]>0.75,">75%")
 
after you will use this field for the display
Anonymous
Not applicable

Thx. How do I count the grouped values (see below for a screenshot of output based on switch)? the column 'Score' was originally a calculated field, like so: Score = DIVIDE(SUM(Data[Numerator]),(SUM(Data[Denominator])))

 

 

sp91_0-1653490212987.png

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors