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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

filter data based on user email

I would like to show only the data related to the viewer email, from what I read around it should be feasable in Power BI, 

however I can't find a way.

 

I have already all the data in my data set, with 2 kind of users, employees and DMs, I would like to show different data (even in different pages) 

 

EMP CODEEMP AREAEMP EMAILDM EMAIL
123AAAEMP1@EMAIL.COMDM1@EMAIL.COM
456BBBEMP2@EMAIL.COMDM1@EMAIL.COM

 

EMP AREA connects this table to all my other data (1:many relationships)

 

Anyone could help?

Thanks in advance 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi  @Anonymous ,

 

 

As @Greg_Deckler said, to verify that your configured rls is in effect, just select view as. The reference is below:

vkongfanfmsft_0-1712300530209.png

vkongfanfmsft_1-1712300548867.png

vkongfanfmsft_2-1712300562578.png

vkongfanfmsft_3-1712300642745.png

vkongfanfmsft_4-1712300659291.png

Best Regards,
Adamk Kong

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi  @Anonymous ,

 

 

As @Greg_Deckler said, to verify that your configured rls is in effect, just select view as. The reference is below:

vkongfanfmsft_0-1712300530209.png

vkongfanfmsft_1-1712300548867.png

vkongfanfmsft_2-1712300562578.png

vkongfanfmsft_3-1712300642745.png

vkongfanfmsft_4-1712300659291.png

Best Regards,
Adamk Kong

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Greg_Deckler
Community Champion
Community Champion

@Anonymous Yes, this is done by creating an RLS rule on the table and using USERPRINCIPALNAME such as:

[EMAIL] = USERPRINCIPALNAME()



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

Many thanks!

I've done the following and seems to work

df123445_0-1712223976948.png

 

But is there any way to test this? 

I've tried "View as" but whatever I select the data doesn't seem to be filtered 

 

@Anonymous So when viewing as, you need to select the role and then "Other user" and type in the email address of the other user who you want to impersonate.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

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.