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
ACCR
Frequent Visitor

RLS Distribution List not displaying info

Hi!

I've created a RLS in PowerBI using the DAX userprincipalname().

It works fine for the individual email adresses (makes me think that the tables and connections are ok) but when using distribution lists, the users cannot see any info. Their emails are in the DL that I uploaded. The DL is also in the Security tab and RLS tab.

This is an example of the users mapping table format I am using at the moment.

The filter corresponds to a role (connected to other table).

The DAX formula I am using is the following too.

ACCR_0-1651660422312.png

 

Why does this happen? Thank you a lot.

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi  , @ACCR 

System cannot identify user name . According to the offical document you can see that when you use username() or userprincipalname() , usually returns a user in the format of DOMAIN\User or a user in the format of user@contoso.com. When you enter the user's name, it can only determine that this is a text column, but not a user name column.

Ailsamsft_0-1652079695799.png

Best Regards,
Community Support Team _ Ailsa Tao
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  , @ACCR 

System cannot identify user name . According to the offical document you can see that when you use username() or userprincipalname() , usually returns a user in the format of DOMAIN\User or a user in the format of user@contoso.com. When you enter the user's name, it can only determine that this is a text column, but not a user name column.

Ailsamsft_0-1652079695799.png

Best Regards,
Community Support Team _ Ailsa Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Yes! Thank you a lot.

Is there any workaround for the DL's to be accepted?

Anonymous
Not applicable

Hi , @ACCR 

Can you describr your operation in detail ? From the DAX you provided , there is no problem . Did you test RLS in Desktop ? Can RLS work ? Did you create relationship between User table and data table ? You can refer to the offical document to check your configuration . 

https://docs.microsoft.com/en-us/power-bi/enterprise/service-admin-rls 

 

Best Regards,
Community Support Team _ Ailsa Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi! Thank you so much for the answer! 

I am sorry I didn't give musch details.

 

Did you test RLS in Desktop ? - Yes

Did you create relationship between User table and data table ? Yes, the mapping is done correctly!

The only thing that I am seeing is that the system do not recognize the user using Distribution Lists. Only if I write the users email individually, the RLS works.

 

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.