This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hi all,
I am struggling with the following problem: I have a sample data set where I need to calculate the n percentile (say 10% percentile) for records pertaining to a given group (column Area). The percentile of each group should then be reported in an additional column.
Thank you
giovanni
Solved! Go to Solution.
Hi @inascargio ,
You can refer the following links to get it:
By DAX:
powerbi - Calculating percentiles by group in Power BI - Stack Overflow
P10 =
PERCENTILEX.INC (
ALLSELECTED ( 'Table'[Area] ),
CALCULATE ( SUM ( 'Table'[Custom.Peso] ) ),
0.1
)
By Power Query:
New Percentiles Transformation in Power Query | Microsoft Power Query
Best Regards
Hi @Anonymous ,
thanks for the reply.
I followed the DAX solution and slightly modifiied the approach as follows:
=CALCULATE(PERCENTILEX.INC('Table1 2';[Custom.Peso];0,1); ALLSELECTED('Table1 2'[Custom.Gestore]))
And I managed to get exactly the output I needed (see snapshot below).
Thanks
inascargio
Hi @inascargio ,
You can refer the following links to get it:
By DAX:
powerbi - Calculating percentiles by group in Power BI - Stack Overflow
P10 =
PERCENTILEX.INC (
ALLSELECTED ( 'Table'[Area] ),
CALCULATE ( SUM ( 'Table'[Custom.Peso] ) ),
0.1
)
By Power Query:
New Percentiles Transformation in Power Query | Microsoft Power Query
Best Regards
I'm using Power Query in Excel and don't have the Percentile operation available. Is it an upgrade or add-on of some sort, or only in Power BI?
Hi @Anonymous ,
thanks for the reply.
I followed the DAX solution and slightly modifiied the approach as follows:
=CALCULATE(PERCENTILEX.INC('Table1 2';[Custom.Peso];0,1); ALLSELECTED('Table1 2'[Custom.Gestore]))
And I managed to get exactly the output I needed (see snapshot below).
Thanks
inascargio
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 36 | |
| 33 | |
| 31 | |
| 24 | |
| 18 |
| User | Count |
|---|---|
| 66 | |
| 50 | |
| 33 | |
| 24 | |
| 24 |