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

Why add =FALSE() in RLS?

When working with Roles... If we leave the DAX Filter blank, it means that the user has no access, right?

 

I am opening this legacy cube, and I see the below:

 

ovonel_0-1637058229593.png

 

 

what is the use of adding =FALSE()  isn't it the same, as just leaving it blank??

 

1 ACCEPTED SOLUTION
mattww
Responsive Resident
Responsive Resident

Hi @Anonymous 

 

I believe RLS requires an expression to return a TRUE/FALSE value, so it would make sense for security that in the absense of an expression to evaluate, it defaults to FALSE preventing someone from accessing the data just because they have no role

 

Even though you might have left it blank in the past, I guess in the background it's forcing the value to FALSE

 

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
mattww
Responsive Resident
Responsive Resident

Hi @Anonymous 

 

I believe RLS requires an expression to return a TRUE/FALSE value, so it would make sense for security that in the absense of an expression to evaluate, it defaults to FALSE preventing someone from accessing the data just because they have no role

 

Even though you might have left it blank in the past, I guess in the background it's forcing the value to FALSE

 

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

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.