Forum Discussion
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.
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.
Kindly check the above issue on priority and provide solution or any idea will be more helpful.
Best Regards,
Ajay Emmadi
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" )
1 Reply
- CmcmahanResident 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" )