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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
PowerBITesting
Helper IV
Helper IV

How to Filter All Accounts based on the country(logged in user) In Power BI?

Requirement is - Filter All the accounts based on looged in User's country.

I used RLS where filters are added based on the USERPRINCIPALNAME() which filter only accounts which belongs to the particular user. 

Now if we need to filter all accounts based on the country?

1 REPLY 1
lbendlin
Super User
Super User

Have a mapping table between users and countries, apply the RLS to that table, and then use that table to filter your data model.

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.