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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Raman3456
Helper II
Helper II

Dynamic RLS Based on Region, Country

Dear All,

 

I have one data like 

 

username  market    market unit

abcd          USA         Newyork

bcde          India        Delhi

 

 

Need to apply RLS based on the criteria like     ---- Raman ( Userprinciplename) && dynamic market value && Dynamic Market unit .

 

 

Will it be possible ?

 

 

Thanks for the support.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@Raman3456 

To set Dynamic RLS, you need to have their power bi account in a column.

 

For example:

Username Market Market Unit Email address(pbi account)
Raman AUS Sydney Raman@microsoft.com
Ashok US NewYork Ashok@microsoft.com

 

1. In the RLS, create a role: Email address = userprinciplename()

2. Publish to service, in Security tab add all emails(pbi account) to the role

3. With the above setting, users log into power bi service will only see data in the respective rows.

 

 

Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

@Raman3456 

To set Dynamic RLS, you need to have their power bi account in a column.

 

For example:

Username Market Market Unit Email address(pbi account)
Raman AUS Sydney Raman@microsoft.com
Ashok US NewYork Ashok@microsoft.com

 

1. In the RLS, create a role: Email address = userprinciplename()

2. Publish to service, in Security tab add all emails(pbi account) to the role

3. With the above setting, users log into power bi service will only see data in the respective rows.

 

 

Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.

Migasuke
Memorable Member
Memorable Member

Hi,

 

please can you show your model?



If my answer was helpful please give me a Kudos or even accept as a Solution.

Let's connect on LinkedIn!

Raman3456_0-1626161083292.png

Hi

 

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.