- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

multi RLS > subtractive rather than additive
hello community,
USECASE 1
Suppose we have a classic star schema, with dim product and dim region.
requirement = we need to implement an RLS rule, users under this rule should only see "Bikes" category sold in "Europe" region
which means an intersection-based RLS between dim product and dim region
The common approach is to create 2 seperate static RLS with one, filtering "dim product" and the other filtering "dim region"
but in that case, those 2 RLS with be additive and we'll see , say some Bikes data saled on "US" region for example.
USECASE 2 :
i've created 2 RLS
RLS 1 = filtering a standalone table not related to the model
RLS 2 = filtering a dimension table related to the model (star schema)
both tables blong to the same dataset (no way to seperate them due to a specific requirement)
as a result of RLS additive behavior, and from the fact that those 2 tables are not related,
applying both RLS at the same time, made the data fully accessible.
any workarounds except createing seperate parameterized datasets ?
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi @MrKETATA ,
Your usecase 2 is the usual method.
1 add a role table( seperate parameterized dataset)
2 filter product and region table by two rls rules.
rls code like this:
product table:
[product_id] in calculatetable( values(roletable[productid]), filter( roletable, [useremail] = username()))
region table:
[region_id] in calculatetable( values( roletable[region_id]), filter( roletable,[useremail] = username()))
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Thanks @v-chenwuz-msft
The thing is, table in RLS1 will be used to assign our end userprincipalname() to a specific page name (has no business with data model), although, RLS2 is meant to filter our data model, finally i'll go with multi parameterized dataset, and leverage RLS1 only, I would suggest to disable RLS additive behavior on tables that are obviously not related.
Regards.

Helpful resources
Join us at the Microsoft Fabric Community Conference
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Power BI Monthly Update - February 2025
Check out the February 2025 Power BI update to learn about new features.

Subject | Author | Posted | |
---|---|---|---|
02-18-2025 05:33 AM | |||
12-10-2024 03:26 AM | |||
12-03-2024 01:00 AM | |||
05-28-2024 10:32 AM | |||
12-10-2024 04:29 PM |
User | Count |
---|---|
84 | |
81 | |
52 | |
37 | |
36 |