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
Cobra77
Post Patron
Post Patron

Error excel connexion on dataset (Premium) with "complex" RLS

Hi 

 

We have a dataset who have :

- a security table , upn  and code(s)

- 2 fact tables , 6 dimensions

RLS :

- 4 dimensions with a OR Condition on the first table 

- 2 dimensions with a OR Condition on the second fact table

a combination that gives the following roles :

Cobra77_0-1643300379763.png

in the model the security table is not linked to any table :  

 

Cobra77_2-1643301197524.png

 

In power bi service , its ok 

 

But from excel :

 

Cobra77_1-1643301089409.png

 

we have other datasets with simpler RLS and it works.

we have update excel and Analyser for excel, the same.

 

An idea ?

 

Thanks for your help

 

2 REPLIES 2
v-yalanwu-msft
Community Support
Community Support

Hi, @Cobra77;

 

Is your problem solved? If so, Would you mind accept the helpful replies as solutions? Then we could close the thread. More people who have the same requirement will find the solution quickly and benefit here. Thank you.

Best Regards,
Community Support Team_ Yalan WuIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-yalanwu-msft
Community Support
Community Support

Hi, @Cobra77 ;

RLS doesn't apply to a user if they have edit permission on the dataset. If a user is an Admin, Member, or Contributor to a workspace a dataset is in, they have edit permission on the dataset.

 

If the user who ONLY has Viewer role with Build permission added uses Analyze in Excel, RLS should be fully in effect like it is for Power BI desktop.

 

See this ticket below
https://community.powerbi.com/t5/Service/RLS-Analyze-in-Excel/td-p/56327

Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.