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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

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
Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.