Forum Discussion
Anonymous
4 years agoNot applicable
Dynamic Percentiles
Hello community, I have the below dataset that has grades from students in each department. I want to calculate percentiles (p25, p50, p.75) for all students but also when I filter with slicer th...
- 4 years ago
Hi Anonymous ,
You can try below formula:
M_0.25 = CALCULATE ( PERCENTILE.EXC ( 'Table'[Grade], 0.25 ), ALLEXCEPT ( 'Table', 'Table'[Department] ) )M_0.5 = CALCULATE ( PERCENTILE.EXC ( 'Table'[Grade], 0.5 ), ALLEXCEPT ( 'Table', 'Table'[Department] ) )M_0.75 = CALCULATE ( PERCENTILE.EXC ( 'Table'[Grade], 0.75 ), ALLEXCEPT ( 'Table', 'Table'[Department] ) )If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-henryk-mstf
4 years agoCommunity Support
Hi Anonymous ,
You can try below formula:
M_0.25 =
CALCULATE (
PERCENTILE.EXC ( 'Table'[Grade], 0.25 ),
ALLEXCEPT ( 'Table', 'Table'[Department] )
)M_0.5 =
CALCULATE (
PERCENTILE.EXC ( 'Table'[Grade], 0.5 ),
ALLEXCEPT ( 'Table', 'Table'[Department] )
)M_0.75 =
CALCULATE (
PERCENTILE.EXC ( 'Table'[Grade], 0.75 ),
ALLEXCEPT ( 'Table', 'Table'[Department] )
)
If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.