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! Learn more

Reply
stuti
New Member

Help required to implement security via a user information table

I have use case where in user should be able to filter and view data by a

security matrix

stuti_0-1681905346553.png     

User Information table  

stuti_2-1681905633429.png

The report is expected to identify the current logged in user and accordingly filter the data in the report by conditions verified by security matrix and available as in user information

Example:

Tom being a Team Head should be able to 

1. see all Jurisidction applicable when Team - Engineer 

2. see only Engineer as the value in Slicer for Team whereas all values for Jurisdiction slicer when blank 

Slicers are sourced from dimension tables Team & Jurisdiction.

I have tried to create measure that captures values individually for team & jurisdiction for the logged in user via USERPRINCIPALNAME() however this works well to filter out the slicers but not on visuals that include Field Parameters aka combination of attributes.

User Team =
VAR _Team =
CALCULATETABLE(
    VALUES(UserInfo[Team]),
    UserInfo[User] = "Tom@abc.com") -- to be changed to USERPRINCIPALNAME()
RETURN
IF( VALUES(Team[Team]) IN _Team,1,0)

 

Welcoming any suggestions on data modelling or approaches or ideas to implement it.

Link to sample pbix for reference - Sample PBIX 

 

Thanks

1 REPLY 1
v-zhangti
Community Support
Community Support

Hi, @stuti 

 

Please refer to the following links in the hopes of helping you.
Solved: Dynamic RLS - Microsoft Power BI Community

Row Level Security with SSAS Tabular Live Connection in Power BI - RADACAD

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.