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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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 [email protected]
Ashok US NewYork [email protected]

 

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 [email protected]
Ashok US NewYork [email protected]

 

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.