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
jalortega
Regular Visitor

Direct Query Mode - Couldn't load the data for this visual

Hi,

 

I created a PBI Desktop report that connects to multiple Datasets with direct query mode, together with several import data. I created roles filtering by corporate email address:

jalortega_1-1649384606528.png

 

If I try to view as roles it works fine:

jalortega_2-1649384905466.png

But, after publishing the report in a shared workspace, the security only works fine for the Owner group. But as soon as I try with a user out of the Group, I get the following error:

jalortega_0-1649384442967.png

 

If I take out the direct query datasets from the report, security for this report works fine. Also, if I test the security of each dataset separately it works fine aswell. I have reviewed all credentials are validated.

 

What am I doing wrong?

Any advice will be very appreciated.

Thank you very much

1 ACCEPTED SOLUTION
v-yingjl
Community Support
Community Support

Hi @jalortega ,

401 error usaually means autentication error, not related to your RLS.

 

Based on your model, it is a multiple data sources reports and have limitations when configuring RLS for it which is by design in Power BI Desktop, please refer: Limited relationships 

 

There are additional restrictions related to limited relationships:

  • The RELATED DAX function can't be used to retrieve the "one" side column values
  • Enforcing RLS has topology restrictions

 

Best Regards,
Community Support Team _ Yingjie Li
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

2 REPLIES 2
v-yingjl
Community Support
Community Support

Hi @jalortega ,

401 error usaually means autentication error, not related to your RLS.

 

Based on your model, it is a multiple data sources reports and have limitations when configuring RLS for it which is by design in Power BI Desktop, please refer: Limited relationships 

 

There are additional restrictions related to limited relationships:

  • The RELATED DAX function can't be used to retrieve the "one" side column values
  • Enforcing RLS has topology restrictions

 

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

 

lbendlin
Super User
Super User

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.