Forum Discussion
Dynamic Data Source based on dynamic parameter from login user session
- 7 years agoHi there
Please find below a link on how to use it with Power BI Embedded
https://docs.microsoft.com/en-us/power-bi/developer/embedded-row-level-security
2. It could work with DirectQuery if you are passing it down to a data source which supports single Sign On
3. Currently if a user is a member of an App Workspace RLS does not apply.
What I would suggest doing is to have all the data in one SQL Server table or ideally build an SSAS or AAS tabular model. You can then have all the reports accessing this tabular model.
You can then configure Row Level Security and based on which user logs in, you can then only show them their data.
This will allow you to only create 1 dashboard and 1 report.
Hi GilbertQ ,
Thank you for your message. How can we use this RLS with custom application? As mentioned before, we have App Workspace in Power BI Service through which we are embedding dashboards into our Custom Applications (ASP.Net MVC). So how can we pass this Role information from Custom Application to Dashboard?
2nd: I believe, RLS feature will work if Dashboard is using Direct Query. Right?
3rd: These dashboards will be readonly (we manage it through our custom application) however our App Workspace is configure to allow end users for Edit/Update dashboards (not these but other type of dashboards). So will it have any implication?
Thanks
- GilbertQ7 years agoSuper UserHi there
Please find below a link on how to use it with Power BI Embedded
https://docs.microsoft.com/en-us/power-bi/developer/embedded-row-level-security
2. It could work with DirectQuery if you are passing it down to a data source which supports single Sign On
3. Currently if a user is a member of an App Workspace RLS does not apply.- malikirfan287 years agoHelper II
Hi GilbertQ ,
Thank you for your support.
However I couldn't understand your point 3 reply. Can you please give some detail.
Thank you.
- GilbertQ7 years agoSuper UserHi there
Currently people who are a member of an App Workspace do not have RLS applied to them when they view the reports or dashboards.