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
Anonymous
Not applicable

Dynamic RLS many to many differ between desktop and RLS

Hi, 

I have problem with one of the roles in the service. I have a many to many situation where the DAX code shown under works fine in the desktop, but when the dataset is published to the web the table do not filter and the assign user group get full access. 

A prehand thanks for the help. 

Best regards

Martin Sundelius

 

DAX code: 

 

msundelius_0-1635511756235.png

 

Relationship:

Skjermbilde.PNG

1 ACCEPTED SOLUTION
Anonymous
Not applicable

I changed the name of the column RLS_Innesalg_Avdeling.tilgangsavdeling to RLS_Innesalg_Avdeling.Avdeling and then the DAX code worked in the service aswell as inn the desktop. 

Thanks for the feedback. 

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

I changed the name of the column RLS_Innesalg_Avdeling.tilgangsavdeling to RLS_Innesalg_Avdeling.Avdeling and then the DAX code worked in the service aswell as inn the desktop. 

Thanks for the feedback. 

v-robertq-msft
Community Support
Community Support

Hi, @Anonymous 

As far as I’m concerned, if you want to make the RLS work in the Power BI service, you should first make sure that the end-users you shared the report with have been added to the RLS role you set.

vrobertqmsft_0-1635749962030.png

vrobertqmsft_1-1635749962032.png

 

What’s more, the RLS can only work for the end-users that only have the “View” access to this dataset. So you should also check if they are only the viewer of your workspace.

vrobertqmsft_2-1635749962037.png

 

To test if the role can work in your Power BI dataset, you can use the “test as role” function to make a test:

vrobertqmsft_3-1635749962037.png

 

For more things you need to pay attention, you can refer to this link:

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

 

Thank you very much!

 

Best Regards,

Community Support Team _Robert Qin

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

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!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 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.