Forum Discussion

Companyuser101's avatar
2 years ago
Solved

RLS and rank Measure

Hello I want to rank different costumers. eg this costumer is on rank 9.

 

 

Those costumers are also able to use the report and then should see their rank. 

I have all these costumers on RSL. 

When they log on they always are on the first rank because of the security hirachy. 

 

How can I change the measure, so the rank stays the same?

 

The formula: 

CALCULATE(rANKX(ALL('Zuordnung - RSM/VP'),[P4P Faktor Kombiniert],,DESC)
 
The rls is on the table: Zuordnung - RSM/VP'
 
Thanks.
  • I think you would need to add a table to your model that has the customers and their rank pre-calculated and you could show the value off that table.  The ranking would get calculated when the model refreshes, not when the user views the report with is where the ranking data is restricted by RLS.

3 Replies

  • I think you would need to add a table to your model that has the customers and their rank pre-calculated and you could show the value off that table.  The ranking would get calculated when the model refreshes, not when the user views the report with is where the ranking data is restricted by RLS.