Forum Discussion
Sid10
Helper I
5 years agoCalculating Percentile using Rank and Count
We know that Percentile = Rank/(n+1), where n is the number of values for which the percentiles are being calculated. This has worked fine for me in powerbi when the values are distinct. However, i...
mwegener
Most Valuable Professional
5 years agoHi Sid10 ,
try this.
LowBirthWt_%ile = DIVIDE([LowBirthWt_Rank], COUNTX(ALL(CQM), CQM[GrantNumber]))
Sid10
Helper I
5 years agoWow! That did it! Thanks a lot.
Just a minor correction. Your formula should be:
LowBirthWt_%ile = DIVIDE([LowBirthWt_Rank],COUNTX(ALL(CQM),CQM[GrantNumber])+1)