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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Being able to show the x percentile of grouped data in a matrix (and count the number of lines)

Hi,

 

I have data similar to below:

(except there is many more statuses)

 

Unique IDCurrent StatusDays in Status
A15
B28
C110
D28
E18
F27
G11
H23
I11
J28
K19
L25
M15
N210
O11
P23
Q14
R26
S19
T21
U1

2

 

In PowerBI I currently have a matrix that shows a count of "Unique ID" per status, and I also have a table where it shows the specific Unique IDs. When I click on the count of unique IDs for each status, Power BI will filter the table I have to show the list of unique IDs in that status. 

 

What I also am trying to do is either add some additional columns to the matrix (or create a new matrix) that can perform the following functions:

- Show the 10th and 90th percentile "Days in status" for each status

- Filter to the units that are either "top 10 percentile" or "bottom 10 percentile" when clicked on the matrix

 

Just wondering if this is possible? I tried creating the percentile measures, but it looks like when you put a measure in the matrix, it doesn't filter based on the filters inside the measure, only based on the row/column in the matrix. Any way I can get around this?

3 REPLIES 3
v-xicai
Community Support
Community Support

Hi @Anonymous , 

 

I am not sure what desired result would you want, could you please share your sample data and desired output screenshots for further analysis? You can also upload sample pbix to OneDrive and post the link here. Do mask sensitive data before uploading.

 

Please read this post to get your answer quickly: How to Get Your Question Answered Quickly.

 

Best Regards,

Amy 

Anonymous
Not applicable

Hi Amy,

 

Sample data is posted in the original post.

 

Desired output is a matrix that looks like this:

StatusTop 10 # of Unique ID10th percentileTop 90% # of Unique ID90th percentile
111110
211110

 

And then a table that shows a list of all Unique IDs. When the cell for (Status 1, Top 90% # of Unique ID) is clicked, it would show in the table: Unique ID "C".

amitchandak
Super User
Super User

@Anonymous , refer if this can help

https://xcelanz.com/dynamic-percentiles-using-dax/

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.