Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
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
Solved! Go to 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.
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.
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.
User | Count |
---|---|
85 | |
80 | |
76 | |
49 | |
41 |
User | Count |
---|---|
114 | |
56 | |
51 | |
42 | |
42 |