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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Regular Visitor

Quartile in dax

I need to calculate the quartile on a measure but I am unsuccessful in my attempts, I am trying as follows:
     Define Measure 'Table' [MyMeasure] = PERCENTILEX.EXC (ALL (dProgram [NM_PROGRAM]), [% PAUSE], 0.75)

where [% PAUSE] is as I need to get the quartile

Community Support
Community Support

Hi @GBarreto1 

You can try the following measure


[MyMeasure] = CALCULATE(PERCENTILEX.EXC (dProgram, [% PAUSE], 0.75),ALL (dProgram [NM_PROGRAM]))


Best Regards!

Yolo Zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.


I forgot to mention, I have this view of the pause measure grouped by date and program, I need to calculate the quartile of this pause view that is generated

Super User
Super User

@GBarreto1 , refer if video from Curbal can help


Top 80/20 , percent /percentile



Or Window function

Power BI Window: Pareto Analysis Again, 80% of sales, Order by Measure when REL position is used:


If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.



Basically, I set up this view to bring the pauses grouped by date and program, I need the quartile based on this pause measure that is generated

Helpful resources

Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

Check out the February 2024 Power BI update to learn about new features.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors