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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! 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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors