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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

How to handle Power BI row Level security with "ALL" as a Mapping Value

Hello All,

I have three source tables and the data as shown below.

 

Sales Table:

roshanrise_0-1629357613685.png

User Table:

roshanrise_2-1629357749542.png

User Group Table:

roshanrise_3-1629357778872.png

 

Here I Want to Implement row Level Security. To do so, I have changed the user Group Table comma separated value to new line like below.

roshanrise_0-1629361276954.png

 

Finallly, Created relationship between tables "User Table" -> "User Group Table" -> "Sales Table". And Role as shown below

 

roshanrise_4-1629357982252.png

 

With this Approach the RLS is working fine for User1, User2 & User3. But not for User4 as there is no mapping for the Value "All".

How to handle this scenairo ? Here, user4 need Access to All the stores in the Sales table data.

Appreciate all your response.

 

Regards

4 REPLIES 4
Anonymous
Not applicable

Hi @Anonymous ,

 

You could create a role without any filter in it , then add user in that role.

1.PNG

 

Best Regards,

Jay

Anonymous
Not applicable

But My question is not About the Roles. I Need to use the given tables in the Scrrenshot.
This will not solve the purpose of it

amitchandak
Super User
Super User

@Anonymous , I am not sure You made the comma separated list worked. But all should be a list of all user; comma separated.

 

This what I DO

User , Group

A Group1 

B Group 1

All Group 4

User , user All

A A

B A

A All

B All

 

 

I merge the two and get rid of All, then can remove distinct and can create comma separated list

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

@amitchandak Can you help me with dax query to get the values programtically 

User , user All

A A

B B

A All

B All

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.

Top Solution Authors
Top Kudoed Authors