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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
sheetalshettiga
Helper IV
Helper IV

Applying RLS in power bi based on user login without having user table

Can we Apply RLS to data based on user login without having a user table ?

 

For ex when a user called abc logs in he can see data only with region='xyz'

Can we do this without creating a user table in power bi?

1 ACCEPTED SOLUTION
v-easonf-msft
Community Support
Community Support

Hi, @sheetalshettiga 

I guess that you are now creating Dynamic RLS which needs to create a user table first.

https://radacad.com/dynamic-row-level-security-with-power-bi-made-simple 

 

Please try to create  static RLS.You only need to  define roles and rules within Power BI Desktop, and then assign users to these roles in the Power BI service.
https://docs.microsoft.com/en-us/power-bi/admin/service-admin-rls

 

 

 

Best Regards,
Community Support Team _ Eason

View solution in original post

3 REPLIES 3
v-easonf-msft
Community Support
Community Support

Hi, @sheetalshettiga 

I guess that you are now creating Dynamic RLS which needs to create a user table first.

https://radacad.com/dynamic-row-level-security-with-power-bi-made-simple 

 

Please try to create  static RLS.You only need to  define roles and rules within Power BI Desktop, and then assign users to these roles in the Power BI service.
https://docs.microsoft.com/en-us/power-bi/admin/service-admin-rls

 

 

 

Best Regards,
Community Support Team _ Eason

The link which u attached also uses a separate user table to be created,Can we use this concept without having a separate user table

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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