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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
ThomasWeppler
Impactful Individual
Impactful Individual

Row level security where multiple people can see a row

Hi Power Bi community

I want multiple people to be able to see the same row.

usally I use this DAX: [email] = userprincipalname()
but it will not work if I have multiple e-mails in the colum. Is there a way to achive that?

All help is greatly appriciated.

2 ACCEPTED SOLUTIONS
amitchandak
Super User
Super User

@ThomasWeppler , Better unpivot, if more than one column has email.

Or use Split by Delimiter to have email in multiple rows, if they in same column separated by Delimiter 

 

Power Query Split Column , Split Column By Delimiter: https://youtu.be/FyO9Vmhcfag

 

Unpivot Data(Power Query): https://youtu.be/2HjkBtxSM0g

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

xifeng_L
Super User
Super User

Hi @ThomasWeppler ,

 

You can try below expression.

 

FIND(userprincipalname(),[email],1,0)>0

 

 

Did I answer your question? If yes, pls mark my post as a solution and appreciate your Kudos !

 

Thank you~

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

Thank @amitchandak  and @xifeng_L  for their prompt replies.

Hi @ThomasWeppler  ,

May I ask if your problem has been solved. If the above reply was helpful, you may consider marking it as solution. If the problem is not yet solved, please feel free to ask us a question.

 

Best Regards,

Ada Wang

xifeng_L
Super User
Super User

Hi @ThomasWeppler ,

 

You can try below expression.

 

FIND(userprincipalname(),[email],1,0)>0

 

 

Did I answer your question? If yes, pls mark my post as a solution and appreciate your Kudos !

 

Thank you~

Thanks for the answer.

It looks like it might work. I will try it out for a bit and get back and accept your suggestion as a solution if it works.

amitchandak
Super User
Super User

@ThomasWeppler , Better unpivot, if more than one column has email.

Or use Split by Delimiter to have email in multiple rows, if they in same column separated by Delimiter 

 

Power Query Split Column , Split Column By Delimiter: https://youtu.be/FyO9Vmhcfag

 

Unpivot Data(Power Query): https://youtu.be/2HjkBtxSM0g

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

@amitchandak thanks for the fast answer.
My problem is more how I wirte the DAX-code that let me look at row level security for multiple colums.

so let us say that I have
colum 1 = User A

colum 2 = Email[1]

colum 3 = Email[2]

 

How do I wirte a dax code that allow a both the person with Email[1] and Email[2] to see User A?

[Email[1]] = userprincipalname() will not do it.

I hope the question make sense.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

Top Solution Authors