Forum Discussion
Problem using Pareto: accumulated error on repeated values
I was not able to do that, my friend RicoZhou. ðŸ˜
I don't know how to create a ranking in a column.
I've been struggling with this for a while. I'm almost giving up on making this Pareto.
Would you help me with it?
Sample:
https://1drv.ms/u/s!AoIveuLXWhhKgvBs0Sp-a2NhLHAwSg?e=KFgAEF
Hi MaxViana
I will use your sample in your new post to have a test, I think you are still confused in the same problem.
Firstly in build a NameRank in Ocorrenicas table.
NameRank = RANKX(Ocorrencias,Ocorrencias[MunicÃpio Fato],,ASC,Dense)
Then Build new rank measure.
NameRanking = CALCULATE(MAX(Ocorrencias[NameRank]),ALLEXCEPT(Ocorrencias,Ocorrencias[MunicÃpio Fato]))NewRanking =
RANKX(ALL(Ocorrencias[MunicÃpio Fato]),[Ranking]+[NameRanking]/1000,,ASC,Dense)
Then you can calculate Acc and Acc%by your new rank.
For more details: How to use RANKX in DAX (Part 2 of 3 – Calculated Measures)
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- MaxViana5 years agoFrequent Visitor
Realize that the problem persists. In the 13th and 14th rank, the cumulative measures still do not work.