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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

RLS modeling for dynamically filtering

Have an RLS dynamic filtering question

 

Have the user email along with the Divisions that users can see the data in following format. 

LocationemailDivision 1Division 2 Division 3Division 4
EASTGroup1@abc.comABC DivXYZ Div123 Div 
EASTGroup2@abc.comABC DivXYZ Div123 DivNEW Div
SOUTHGroup3@abc.com777 Div555 Div  

 

Fact has GI's for divisions . Group1@abc.com should see only the qty of 50 for 3rd Oct. How can i filter in RLS for all various divisions based on email. 

GI NoDateQtyDivision
10001-Oct-2125XYZ Div
10013-Oct-2130ABC Div
10023-Oct-2120ABC Div
100315-Oct-2170555 Div
100415-Oct-2150123 Div
100520-Oct-21100NEW Div

 

on the Access Grp, i used email = USERPRINCIPALNAME(). Struck on dynamic filtering of location and divisions. 

Pbix is https://drive.google.com/file/d/1LKEIZmqAghp-El47AB_r0uWo0nWEbuCp/view?usp=sharing

 

 

 

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , You have to unpivot the first table to bring division in rows to use RLS on division

 

https://radacad.com/pivot-and-unpivot-with-power-bi

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

Thanks @amitchandak . I did unpivot them. But my question was on how filtering can be done dynamically 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.