Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Fabric community is upgrading! Read all of the details including the timeline and what you can expect. Learn more

Reply
Anonymous
Not applicable

Adding totals to RLS

Hi,

 

I have a dataset which contains all sorts of metrics for different departments in my company. For all these metrics I've made multiple visualisations in a dashboard. I've added Row Level Security so that each department can only see the values and visuals of their own department. However I also need the option for each department to see the values of the entire company (so department1 + department2 + department3, etc.), without them being able to see the data of other individual departments. I would like to implement this by adding a filter in the header of the dashboard, where the user can select his own department (e.g. 'department1') or the total sum of all departments ('total'). This way all the visuals will change based on the selection in the filter.

 

How can I make this?

1 REPLY 1
samdthompson
Memorable Member
Memorable Member

Hello, I have done this same thing. The fix for me was to create a separate fact table of all the company wide stuff summarized to a departmental level. RLS is not applied to the company wide table only to the detailed table. The result is that i can surface summarized data alongside security protected data. 

 

I am not sure how your model works, but for me it was a reference step in power query folllowed by a grouping step then i created all the same relationships bar the departmental one.

 

 

// if this is a solution please mark as such. Kudos always appreciated.

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.