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
jfletty
Frequent Visitor

Power BI RLS Roll Based Not affecting DAX table

I am starting to use RLS with my PowerBI model and all is working well apart from an issue where a table created from a DAX is getting the details from another table ignoring the row level security.

I have a 'Sales' table with 10,000 rows it in and is filtered on a 'SiteID' which when filtered down, limits the displayed to 3,000 rows (this is correct). But when i create a DAX table based off this 'Sales' table, it shows data from all the rows not just what is limited by RLS.

First image of the Security Table: Security

Second is of the Dax Query and table which needs to be filtered: Dax

Let me know where in my DAX query I am going wrong.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

HI @jfletty,

 

Current power b not support to create dynamic calculated column/table based on filter, please take a look at following link to know more about this:

Calculated Column/Table Change Dynamically According to Slicer Selection in the Report.

 

In my opinion, I'd like to suggest you create a normal calculated table and use RLS filter to control which records will display.

 

Steps:

create table, build relationship to RLS table, modify 'cross filter direction' to both and turn on 'apply security filter in both direction' option.

 

Regard,

Xiaoxin Sheng

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

HI @jfletty,

 

Current power b not support to create dynamic calculated column/table based on filter, please take a look at following link to know more about this:

Calculated Column/Table Change Dynamically According to Slicer Selection in the Report.

 

In my opinion, I'd like to suggest you create a normal calculated table and use RLS filter to control which records will display.

 

Steps:

create table, build relationship to RLS table, modify 'cross filter direction' to both and turn on 'apply security filter in both direction' option.

 

Regard,

Xiaoxin Sheng

Anonymous
Not applicable

Do you know this is still the case? I'm having what appears to be the same problem and I can't find a write-up online about why this happening or how to work around it.

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.