Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
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 |
---|---|
140 | |
113 | |
104 | |
77 | |
65 |
User | Count |
---|---|
136 | |
118 | |
101 | |
71 | |
61 |