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

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.

Reply
eddydm
Advocate II
Advocate II

row level security & overall sum

Hi,
 
I'm experimenting with Row Level Security.
In this power-bi-project we have different departments with their own budget.
I want to experiment with some roles (by department) and indeed i can see only the budgets of the departments i'v access to. All right!
 
But I want to see also the total budget of the whole company, but I only can see the total budget of the departments i'v access to. I can understand the result, but in this case i realy want the total budget of all the departments, even those i don't have access to.
I don't need to see all the details of the other departments, not even the budget of the other departments, but I need access to the sum of all the budgets!
 
How can I do this?
 

Thanks in advance.
1 ACCEPTED SOLUTION
ankitpatira
Community Champion
Community Champion

@eddydm I think easiest and the only solution is to bring in only sum of budget amount as a second data source in the report. There won't be any RLS applied to that second data source and so it will work in both desktop and service regardless of the RLS defined on your original dataset.

View solution in original post

3 REPLIES 3
ankitpatira
Community Champion
Community Champion

@eddydm I think easiest and the only solution is to bring in only sum of budget amount as a second data source in the report. There won't be any RLS applied to that second data source and so it will work in both desktop and service regardless of the RLS defined on your original dataset.

@ankitpatira : thanks for your respons. I was also thinking about that solution.

I hoped there was another wa, because in reality I don't want to display only the budgets but also some calculated values.

As I understand you well, I'v to copy all the tables I need, define all the calculated columnes again and define all the measures again (but with references to the new tables).

A lot of work I hope I don't have to do!

 

 

Hi @eddydm,

 

As we know, the RLS rule is applied on the table level with the report. You can image if one part of table data are affected by RLS rule but others will not, it's hard to decide which part of the table should be affected. So both detail information and total value are affected by RLS rule make sense.

 

In your scenario, the only way to work around this issue is suggested by @ankitpatira, to create another table which doesn't apply RLS rule, and use this table to calculate total values.

 

Best Regards,
Qiuyun Yu

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors