Forum Discussion
Conditional growth percentiles
I have a collum of z-score I need to create this measure =NORMSDIST(average Zscore)*100. What would the equivalent to NORMS DIST or NORM.S.DIST (aka the cumulative Normal Distribution function b3e in Powerbi?
2 Replies
- v-sihou-msftMicrosoft Employee
In DAX, there's no build-in function equivalent to NORMS DIST. You have to manually write a calculated column based on its function definition logic. Please refer to a similar thread below:
https://stackoverflow.com/questions/45682788/dax-normal-distribution
Regards,
- kmoxleyFrequent Visitor
Gotcha, Thanks! ok, so I am seeing that powerbi is giving me an error with the fractional power at the end of the equation. Any thoughts on a workaround for 1/2 power?
CGP = SIGN('normsdist (2)'[FallToFallConditionalGrowthIndex])*0.5*(1-(1/30)*(7*EXP(-('normsdist (2)'[FallToFallConditionalGrowthIndex]^2)*(2-SQRT(2)))+(7+0.25*PI()*'normsdist (2)'[FallToFallConditionalGrowthIndex]^2)))^0.5+0.5