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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
mpicca13
Resolver IV
Resolver IV

Conditional Navigation with RLS - Limitations with Drill-Through and Embedded

 

I came across an article which expands on the use of row level security down to the page level using RLS.

Here's the article link: Page (Tab) Level Security & Conditional Navigation in Power BI! (linkedin.com)

And here the link to download the sample pbix: 

https://github.com/mustafaasiroglu/sampledata/blob/master/Conditional%20Navigation%20with%20RLS.pbix

 

As I was going through and testing this and ran into some challenges and wanted to see if anyone else had encountered these challenges and whether they found a solution to them or not.

 

Challenge 1:

Though a user may not be able to see the button that leads to the page that he/she shouldn't be accessing, if there is drill-through functionailty to that page, a user can still navigate to that page using drill-through. How can we prevent that and still maintain the existance of drill-through?

 

Challenge 2:

How would we apply this form of RLS in embedded scenarios? 

Scenario:

We have a company table which contains the unique id's of all users who access the report.

Creating roles as shown in the sample pbix is not an option.

How can we approach establishing a connection via table filter DAX expression and a disconnected parameter table (Our Page Navigation Table) Using a single role AND a single page navigation parameter table?

 

Images of my current samples below:

 

Current Role Setup:

Capture.PNG

 

 

analytics_company Table which contains unique userid's for RLS. NOTE: I added a Custom Column [Custom] to try and establish a connection to the page navigation table. (Values of 0 only access free pages. Values of 1 access Premium Pages)

Capture1.PNG

 

Current Page Navigation Table. The route I attempted was to establish a connection between the "Custom" column of the table above with the [Customer Status] column below and setup a table filter DAX expression in Role Management where [Customer Status] = The current [Custom] status of the user who's viewing the report. 

The result would than be (If the user is a premium user) The table below filtering to only show only rows 2, 4 & 5

Capture2.PNG

 

Here is an example corresponding DAX measure i used to test navigation to a page marked as premium:

Premium Page 2 Destination =
MAXX (
FILTER (
ADDCOLUMNS (
'Page Navigation RLS',
"Rank", RANKX ('Page Navigation RLS',[Page Number],,ASC)
),
[Page Number] = 5 //change this number with button number
),
[Page Name]
)
 
Unfortunetly my tests have failed.
They only way I got this all to work was establishing a relationship between the Page Navigation Table and the analytics_company table. The goal was to do this purely using RLS Roles.

 

3 REPLIES 3
andy808
Helper III
Helper III

Did you ever find a workable solution to this? I used the same DAX formulas, created the buttons and RLS but its not working. When I test the roles - the table itself filters correctly but the pages do not repsond.

 

Appreciate any help here, thanks!

 

Anonymous
Not applicable

HI @mpicca13 

Did this help with your scenario? If this is a case, you can consider accepting it to help others who faced the same issue to find it more quickly.
If the above not help, please feel free to post here with detailed information and description, then we can test and troubleshoot on it.

How to Get Your Question Answered Quickly 

Regards,
Xiaoxin Sheng

Anonymous
Not applicable

HI @mpicca13,

#1, Current power bi RLS filter not able to achieve this. You can only filter on the corresponding report page visuals source data to show blank results instead of controlling the access ability of drill features.

#2, What type of embed feature you mean? 'Publish to web' or 'power bi embedded'? If you mean 'publish to web', it did not support the report with RLS. You can try to use power bi embedded instead.

Publish to web from Power BI#limitations 

What is Power BI Embedded? 

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Kudoed Authors