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
Anonymous
Not applicable

Modify visual based on Row Level Security

Hello  -  I have a gauge visual that shows our company's YTD performance against annual budget.   It shows %  to target.  

 

Challenge is that I also have row level security setup so that the sales teams cannot see the total numbers on this particular page...they just see their totals.   But in the case of this particular visual, right now they see their particular team's YTD total, against the overall company total.  

 

Ideally, they want to see their YTD total against their budget.    But I am not sure how to create a formula that shows one total for one group of people, then other totals for up to 5 different teams.   In other words, viewers that are allowed to see everything, it works fine as is.    But for the 5 different sales teams, I need the visual to show whichever sales team's total happens to be looking at the report.  

 

1 ACCEPTED SOLUTION
TomMartens
Super User
Super User

Hey,

 

you have to consider to create an additional table that contains all the data just without the "teams" detail, due to this the table will not be affected by RLS. Then you can use this table to create the "Company Total".

 

Hopefully this provides you with some ideas how to "fill" the visual with the proper data.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

View solution in original post

1 REPLY 1
TomMartens
Super User
Super User

Hey,

 

you have to consider to create an additional table that contains all the data just without the "teams" detail, due to this the table will not be affected by RLS. Then you can use this table to create the "Company Total".

 

Hopefully this provides you with some ideas how to "fill" the visual with the proper data.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

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.