Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I'd like to pick the community's brain on solutions for RLS when a report is embedded.
Currently, we use RLS on Power BI using an import connection to an analysis services cube. Our web app passes the identifier to the report & users only see what they should. The issue is that import is a difficult model to maintain when you're working with a lot of data. I'd like to move toward a live conneciton, though I know it is not supported.
Would it be possible to setup RLS on the Analysis Services side, create a report using a live connection, publish & embed this to use RLS?
Would it be possible to use parameters in any way to mimic RLS using a live connection?
Thank you in advance!
For the longest time there has been a solution where you contain the security for dimensions on the model and then filter out based on the user name. This solution works well, but in scenarios where you have multiple hops (client to server, to yet another server), the authentication is dropped unless you are using Kerberos.
Using CUSTOMDATA is an approach that will work across the board. It requires you maintain a 'bridge dimension' in your SSAS model - which is simply a key value pair of user and entity rights...
This is a good post with an explanation on how to go about it..
https://www.kasperonbi.com/using-customdata-and-ssas-with-power-bi-embedded/
If you think this answered your question mark it as solved so others can easily find in search.
Our customers accessing the report are not a part of our active directory. Would your recommended approaches work in this scenario?
Yes it would. As this is where you would set the CUSTOMDATA with any user name you pass.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
98 | |
80 | |
64 | |
57 |
User | Count |
---|---|
145 | |
111 | |
92 | |
84 | |
66 |