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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
Anonymous
Not applicable

RLS functioning is username/ email is not present in the security table

Hi All, Could you please help me with this scenario? If a user is present in the table, I want to implement the RLS based on logged in user using UPN/ Username(). If this user is not a part of the security table, he/she should see all the records, meaning the RLS itself shouldn't be applied/ a way to manage using the DAX in existing table. Could anyone help me tackle this scenario?

4 REPLIES 4
amitchandak
Super User
Super User

@Anonymous , refer if these can help

https://community.powerbi.com/t5/Service/RLS-for-a-single-Data-Table-Query/td-p/120891

https://docs.microsoft.com/en-us/power-bi/guidance/rls-guidance#design-partial-rls

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

Hi  

 

 

 

 

Greg_Deckler
Community Champion
Community Champion

@Anonymous - I would generally not recommend that approach. I would create a seperate role for you other users and put them in the "all" role so to speak. Otherwise, the DAX could get messy or even impossible for the RLS. I really can't think of a way to do what you are asking in a single rule/role.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

Thank you Greg, I see what you're talking and I think I would need to create a separate role with no filtering and assign all the other users into this group.

 

Thanks for provding an opinion once again 🙂

 

Regards,

Jishnu

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.