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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.