Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi,
I want to write a measure to calculate 5th percentile of the VALUE column. I am new to Power BI
Id | Value | %GT Value |
A1 | 2.993857962 | 2.88% |
A2 | 4.790980789 | 4.61% |
A3 | 5.285423474 | 5.08% |
A4 | 9.845946214 | 9.47% |
A5 | 13.1619472 | 12.65% |
A6 | 3.061712719 | 2.94% |
A7 | 14.10853515 | 13.56% |
A8 | 20.40455305 | 19.62% |
A9 | 8.082005991 | 7.77% |
A10 | 0.927973851 | 0.89% |
A11 | 9.357774268 | 9.00% |
A12 | 12.00309514 | 11.54% |
Please help
Solved! Go to Solution.
Hi @Cevola ,
According to your description, here are my steps you can follow as a solution.
(1) My test data is the same as yours.
(2) We can create measures.
Per = PERCENTILE.INC('Table'[Value],0.05)
Per_V = CALCULATE([Per],ALL('Table'))
(3) Then the result is as follows.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Create a measure and use it in a Card visualization in this format, and let me know if there is any issue.
It works in the Card, But can I get a new column PERCENTILE
Id | Value | %GT Value | Percentile |
A1 | 2.993857962 | 2.88% | |
A2 | 4.790980789 | 4.61% | |
A3 | 5.285423474 | 5.08% | |
A4 | 9.845946214 | 9.47% | |
A5 | 13.1619472 | 12.65% | |
A6 | 3.061712719 | 2.94% | |
A7 | 14.10853515 | 13.56% | |
A8 | 20.40455305 | 19.62% | |
A9 | 8.082005991 | 7.77% | |
A10 | 0.927973851 | 0.89% | |
A11 | 9.357774268 | 9.00% | |
A12 | 12.00309514 | 11.54% |
Hi @Cevola ,
According to your description, here are my steps you can follow as a solution.
(1) My test data is the same as yours.
(2) We can create measures.
Per = PERCENTILE.INC('Table'[Value],0.05)
Per_V = CALCULATE([Per],ALL('Table'))
(3) Then the result is as follows.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi,
PERCENTILE.INC('YourTableName'[VALUE], 0.05)
Hi, I have written this measure but when I pull this measure in the visualisation I get the values same as in the VALUE column
User | Count |
---|---|
55 | |
22 | |
18 | |
16 | |
11 |
User | Count |
---|---|
84 | |
54 | |
39 | |
21 | |
16 |