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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.