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
Ramana
Regular Visitor

Dynamic row-level security

Hi everyone,

I have been trying to implement dynamic row-level security in my power bi report, i was trying with USERNAME() and lookupvalue() but both are not giving result for me.
My requrement is connecting to SQLServer and importing data, i have one fact table, one dimension table and security table.


Thanks alot for your quick reply....

1 ACCEPTED SOLUTION
v-huizhn-msft
Microsoft Employee
Microsoft Employee

Hi @Ramana,

How did you create the roles and manage it? Did you test it usig different user who had different permission? I can not reproduce without your sample table. So please see: Power BI Desktop Dynamic security cheat sheet, which describe the detailed steps. After that, maybe it doesn't work, there are some tips to let it work and test it efficiently. Please review the article I posted, and follow it. If you still have not resolved your issue, please share your sample data for further analysis.

Thanks,
Angelia

View solution in original post

2 REPLIES 2
v-huizhn-msft
Microsoft Employee
Microsoft Employee

Hi @Ramana,

How did you create the roles and manage it? Did you test it usig different user who had different permission? I can not reproduce without your sample table. So please see: Power BI Desktop Dynamic security cheat sheet, which describe the detailed steps. After that, maybe it doesn't work, there are some tips to let it work and test it efficiently. Please review the article I posted, and follow it. If you still have not resolved your issue, please share your sample data for further analysis.

Thanks,
Angelia

Thank you @v-huizhn-msft

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!

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