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

Quartile Analysis

Hi 

I want to calculate Quartiles for PRR and RAP Performance Across two sites and for last three months. The Quartiles That I am receiving is not correct the distribution is not matching when I did it in excel. 

This is the dax command I am using:

RR_Quartiles =
var high = PERCENTILEX.INC(
FILTER('Dax Groupby',ISBLANK(('Dax Groupby'[PRR%])) = FALSE()),
('Dax Groupby'[PRR%]),.75)
var mid = PERCENTILEX.INC(
FILTER(
'Dax Groupby',
ISBLANK(('Dax Groupby'[PRR%])) = FALSE()
),
('Dax Groupby'[PRR%]),.5)
var low = PERCENTILEX.INC(
FILTER(
'Dax Groupby',
ISBLANK(('Dax Groupby'[PRR%])) = FALSE()
),
('Dax Groupby'[PRR%]),.25)
return
IF(('Dax Groupby'[PRR%]) <= low, "Q4", IF(('Dax Groupby'[PRR%]) <= mid, "Q3", IF(('Dax Groupby'[PRR%]) < high, "Q2", "Q1")))
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi,

 

Actually it was resolved initially I was doing it on day level basis, when I did it on monthly it sorted out

 

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous ,

 

Please share some sample data and expected result so that we could test the formula.

 

Best Regards,

Jay

Anonymous
Not applicable

Hi,

 

Actually it was resolved initially I was doing it on day level basis, when I did it on monthly it sorted out

 

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!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 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.