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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
johnnypantera
New Member

Display RLS in force when user views report

Greetings!  We have a PBI Report with RLS that is published to the PBI Service.  When users access a report we would like to visibly show them the RLS in placed for their personal view (much like they can see report filters in play), so we can avoid users lack of clarity regarding the organizational data slice they are viewing.

 

If someone could share the PBI feature and/or DAX code to make this happen, I would be very grateful.  Thank you in advance.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @johnnypantera ,

 

This is what I would do:

  1. Create a table (let's call the column RLSName) in Power BI that has rows with your RLS names, e.g. Row 1: Manager, Row 2: Employee
  2. Assign the RLS you created previous with an "Or" statement (which I believe is the syntax || ), with the values equals to the RLS values (just like how you create RLS, but this time with the RLSName)
    • e.g. Role "Manager" >[RLSName] = "Manager"
    • e.g. Role "Employee" >[RLSName] = "Employee"
  3. Create a new visual that will show you the RLSName, so if someone is assigned Role Manager, he/she will see "Manager" in the visual

 

Hope this works and hope this helps!

 

Daren

View solution in original post

2 REPLIES 2
v-diye-msft
Community Support
Community Support

Hi @johnnypantera ,

 

I'd like to suggest you looking through below references whick much helpful:

Official document mainly about the static RLS: https://docs.microsoft.com/en-us/power-bi/desktop-rls

Dynamic RLS:https://radacad.com/dynamic-row-level-security-with-manager-level-access-in-power-bi

https://radacad.com/dynamic-row-level-security-with-power-bi-made-simple

 

 

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.
Anonymous
Not applicable

Hi @johnnypantera ,

 

This is what I would do:

  1. Create a table (let's call the column RLSName) in Power BI that has rows with your RLS names, e.g. Row 1: Manager, Row 2: Employee
  2. Assign the RLS you created previous with an "Or" statement (which I believe is the syntax || ), with the values equals to the RLS values (just like how you create RLS, but this time with the RLSName)
    • e.g. Role "Manager" >[RLSName] = "Manager"
    • e.g. Role "Employee" >[RLSName] = "Employee"
  3. Create a new visual that will show you the RLSName, so if someone is assigned Role Manager, he/she will see "Manager" in the visual

 

Hope this works and hope this helps!

 

Daren

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.