Forum Discussion
Anonymous
4 years agoNot applicable
Ranking by KPIS
Hi folks! I need to ranking my sellers using 5 KPIS x target, its possible using IF and RANK? Ex: Target KPI A = 95% Target KPI B = 80% Seller 1 - KPI A = 90% KPI B = 80% Seller...
- Anonymous4 years ago
Hi Anonymous ,
I created some data:
Here are the steps you can follow:
1. Select two columns – Unpivot Columns.
2. Create calculated column.
Index = IF( 'Table'[Value]>='Table'[Target], RANKX( FILTER(ALL('Table'), 'Table'[KPI]=EARLIER('Table'[KPI])),[Value],,DESC),0)3. Create measure.
Rank = SUMX( FILTER(ALL('Table'), 'Table'[Attribute]=MAX('Table'[Attribute])),[Index])4. Result:
If you need pbix, please click here.
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Anonymous
4 years agoNot applicable
Hi Anonymous ,
I created some data:
Here are the steps you can follow:
1. Select two columns – Unpivot Columns.
2. Create calculated column.
Index =
IF(
'Table'[Value]>='Table'[Target],
RANKX(
FILTER(ALL('Table'),
'Table'[KPI]=EARLIER('Table'[KPI])),[Value],,DESC),0)
3. Create measure.
Rank =
SUMX(
FILTER(ALL('Table'),
'Table'[Attribute]=MAX('Table'[Attribute])),[Index])
4. Result:
If you need pbix, please click here.
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Anonymous
4 years agoNot applicable
Thnx a lot!!! Sorry bout delay!