Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello,
I am trying to set up a dashboard with multiple views based on a filter that is derived from the USERNAME function.
At the moment the data has RLS applied to it so that when someone logs on, it will only show them those people underneath them in the organisation by applying a combination of PATH and PATHCONTAINS, this works well, but I want to add a new column to the table based on the USERNAME() output to allow users to select whether they see everyone below them or just their imediate team.
I was trying to set up an additional conditional column that was along the lines of:
Solved! Go to Solution.
the problem is not really related to RLS. The issue is that the calculated columns/tables are only changing during the refresh. The way you describe it the column would have to change between Team/Organization depending on who is logged in - at the moment PowerBI just doesn't work like this
to make it work you would need to have both the Organization and Team versions of the table for relevant users, and then filter with RLS
the problem is not really related to RLS. The issue is that the calculated columns/tables are only changing during the refresh. The way you describe it the column would have to change between Team/Organization depending on who is logged in - at the moment PowerBI just doesn't work like this
to make it work you would need to have both the Organization and Team versions of the table for relevant users, and then filter with RLS
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
94 | |
83 | |
67 | |
59 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |