Forum Discussion
kabra_ashish
6 years agoHelper III
Rank function bypasses row level security
Assuming I have the below table with the rankings: Country Customer_ID Total_Spend Rank USA U_ABC $100 1 USA ...
- 6 years ago
Here is a measure version that utilizes that rank column to give you the result when filtered to by RLS to Germany:
amitchandak
6 years agoSuper User
kabra_ashish , If you have created a column, it will not change. Create a measure with allselected.
For Rank Refer these links
https://radacad.com/how-to-use-rankx-in-dax-part-2-of-3-calculated-measures
https://radacad.com/how-to-use-rankx-in-dax-part-1-of-3-calculated-columns
https://radacad.com/how-to-use-rankx-in-dax-part-3-of-3-the-finale
https://community.powerbi.com/t5/Community-Blog/Dynamic-TopN-made-easy-with-What-If-Parameter/ba-p/367415