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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
nschmidt
Frequent Visitor

Role Level Security as a way to pass user filter tables into a model

Hi Everyone,

 

I want to utilize role level security to allow users of a published report to set up there own filter table. My idea is that users can drop a file in a sharepoint that has SKU, their username, and filter name. In the model i will use a folder query in a dataflow to aggregate all files and then use powerautomate to refresh the flow and dataset whenever someone modififies or adds a file to the folder.

 

In the model I have the folder query dataflow table connected to the massive SKU list with a one to many relationship. I then setup a RLS where username = userprincipalname(). My hope is that is will only show the filters that that particular user setup, however, the RLS is filtering the table then subsequently filtered the entire SKU table to only SKUs in their file. 

 

How do i setup role level security to only filter that individual table? I even tried disconnecting the tables and using lookupvalue to retrieve the filter name but i grabbed all of them and bypassed the RLS. 

 

Help me out! This is a critical function for dozen of users to build custom filter tables on thousands of SKUs. 

2 REPLIES 2
Anonymous
Not applicable

HI @nschmidt,

Current RLS effects are enabled to the data model level, you can't directly customize the filter effects to keep it only affecting one table. The filter effect will also sync to the related table.

If your table that sets the RLS filter does not have a relationship link to another table, these RLS effects should only apply to the current table.
Regards,

Xiaoxin Sheng

lbendlin
Super User
Super User

It's Row Level Security (not Role Level).  Please show more details on your data model and where you applied the rules.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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