Showing results for 
Search instead for 
Did you mean: 
Post Partisan
Post Partisan

Understanding why rls breaks

I have little experience with RLS.


I have tables: Fact, Dim1 and Dim2.


Everything works fine: I have RLS on Dim1 to filter based on USERNAME().


The RLS "breaks" when I introduce this measure…





IF (

    ISINSCOPE ( 'Client'[Name] ),

    MAX ( 'Client'[Type] ),


        FIRSTNONBLANK ( 'Client'[Type], 1 ),

        FILTER (


            'Client'[Legacy_ClientNo] = 'Client'[ParentNo]





(Client would be Dim2)


It still filters Dim1 and the Fact correctly! But then I get all values with Dim2 (the filter works because all the values from the Fact for those Dim2 rows appear as blank!)



Why it breaks? Do I have to  apply the RLS on Dim2 too?


Community Support
Community Support

Hi @ovonel ,


Can you provide relevant operation screenshot information or data model, etc.? Otherwise, no further tests can be done for you.


How to Get Your Question Answered Quickly - Microsoft Power BI Community

Best Regards,


Super User
Super User

@ovonel I only see one table so I'm not sure what you are saying when you refere to Dim1, Fact and Dim2??

@ me in replies or I'll lose your thread!!!
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Learn Power BI 2nd Edition

Helpful resources

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May 23 2022 epsiode 5 without aka link.jpg

The Power BI Community Show

Welcome to the Power BI Community Show! Jeroen ter Heerdt talks about the importance of Data Modeling.

Power BI Dev Camp Session 22 with aka link 768x460.jpg

Check it out!

Mark your calendars and join us on Thursday, May 26 at 11a PDT for a great session with Ted Pattison!

charticulator_carousel_with_text (1).png

Charticulator Design Challenge

Put your data visualization and design skills to the test! This exciting challenge is happening now through May 31st!