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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.