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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
FD5
Frequent Visitor

Row level security issues in desktop report that is connected to a data model in Power BI service

Hi there,

 

I am trying to apply RLS in my desktop report but having issues.

 

My desktop reports are connected to data models in Power BI service. The models in Power BI service are queries from our practice management system as the system itself is very old and clunky. We have an external consultant who created these models. 

 

I leave the models as they are but I connect to them using direct query as I merge multiple datasets in one report.

 

I recently found out that I can apply RLS as this was something I was trying to do as we have different departments and within departments we have user level security too.

 

When I apply RLS in the actual models it works with no problem but when I apply the same security in the desktop report it doesn't work.

 

Do you have any idea how I can make this work? or is this down to Microsoft limitations?

 

I would very much appreciate your help.

 

Many thanks

1 ACCEPTED SOLUTION

Just to confirm, you have created the roles in the semantic model being directly queried? It is only the tables that can brought in with RLS applied (if there's any) but the roles need to configured in the semantic model itself.





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

View solution in original post

3 REPLIES 3
danextian
Super User
Super User

Hi @FD5 

 

When connecting to a semantic model via direct query, RLS is inherited from the semantic model and must be configured in the model itself not in the local copy of the model.

 





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.
FD5
Frequent Visitor

Thank you! I have created the roles in the semantic model but my local report (which has a different name than the semantic model I am connecting to) is still not showing the roles. Should it show the roles?

Thanks again!

Just to confirm, you have created the roles in the semantic model being directly queried? It is only the tables that can brought in with RLS applied (if there's any) but the roles need to configured in the semantic model itself.





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.