Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
I would like to try to find a way to implement Row Level Security, or some other method if needed, to show all my users data, and then group all other data that is not my users together into a single category called "other". Basically I would like to compare a users data with that of the whole. So when user 1 logs in they see all there data, and then they also see everything other user's data group into one category called "other" so they can compare themselves to the overall market.
Is there anyway to user RLS to show this? Is there a dynamic DAX function that could achieve this result?
Thank you.
Solved! Go to Solution.
HI @Anonymous,
You can create a mapping table with username and category, then use username function to find out related category and apply rls filter on category columns based on find current user category.
Regards,
Xiaoxin Sheng
HI @Anonymous,
You can create a mapping table with username and category, then use username function to find out related category and apply rls filter on category columns based on find current user category.
Regards,
Xiaoxin Sheng
User | Count |
---|---|
102 | |
91 | |
87 | |
79 | |
71 |
User | Count |
---|---|
113 | |
105 | |
101 | |
73 | |
65 |