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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

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
v-shex-msft
Community Support
Community Support

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

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
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
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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

Top Solution Authors