Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
ajayemmadi1
Helper I
Helper I

Row Level Security on Multiple Dimensions and Multiple Values

Hi,

I am facing an issue in fixing the row level security for multiple dimensions and Values. I am able to do it for multiple dimensions but not multiple values. In the attached screenshots you can clearly find the DAX expression for RLS. 

role1.png

role2.png

role3.png

 

In the below screens I am not able to add security for multiple building groups or buildings. It displays null, but the expressions shows valid.

role4.png

role5.png


Kindly check the above issue on priority and provide solution or any idea will be more helpful.

 

Best Regards,
Ajay Emmadi

1 ACCEPTED SOLUTION
Cmcmahan
Resident Rockstar
Resident Rockstar

The logic you're using here will always return null.  You're saying that this user can only see values where the BuildingGroup is Blackstone and where the BuildingGroup is also We Work.  BuildingGroup can't be both at the same time.

 

You want to use or logic in your condition.  

[BusinessVertical] = "Open Markets" && ( [BuildingGroup] = "Blackstone" || [BuildingGroup] = "We Work" ) 

 

View solution in original post

1 REPLY 1
Cmcmahan
Resident Rockstar
Resident Rockstar

The logic you're using here will always return null.  You're saying that this user can only see values where the BuildingGroup is Blackstone and where the BuildingGroup is also We Work.  BuildingGroup can't be both at the same time.

 

You want to use or logic in your condition.  

[BusinessVertical] = "Open Markets" && ( [BuildingGroup] = "Blackstone" || [BuildingGroup] = "We Work" ) 

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Feb2025 NL Carousel

Fabric Community Update - February 2025

Find out what's new and trending in the Fabric community.