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
Anonymous
Not applicable

dynamic security does not get applied unless the table is as filter in the .pbix?

I have the next model in SSAS cube:

ovonel_0-1642778691245.png

(Clients connect to the fact table too)

 

 

As seen, a filter in User Access will propagate all the way to the fact…

 

If I have a dynamic role security with some filter on DAX in User access, will it be applied even if I don’t put/select User access table in the frontend in Power BI??

 

Per my test, the filter gets applied only if I use a filter from that table, if I don’t use that table the dynamic security does not get applied, why is this??

 

2 REPLIES 2
v-luwang-msft
Community Support
Community Support

Hi @Anonymous ,

When I used to test dynamic RLS, I found that the following factors would cause RLS to not work,please check it:

In order for this to work, you will need to apply the tick next to “Apply security filter in both directions”

NOTE: If this is not enabled or ticked the Dynamic RLS will not work correctly.

So once done it will now look like the following below (“Apply security filter in both directions” must be clicked):

  • vluwangmsft_0-1643186403536.png

     

 

Best Regards

Lucien

lbendlin
Super User
Super User

It will be applied when the user authenticates against the SSAS cube.  

 

It is rather unfortunate that your user access table is on the Many side of the relationship. Any way to avoid that?

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 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 Solution Authors