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.
Hi, does anyone knows how to filter rows within a table based on their userprinciplename and organisation hierarchy without using RLS? There are so many roles need to be created in my situation and also I have heard they could not pass userprinciplename through a Power BI gateaway. Really need your help.
In my case, I am trying to implement data flows and in the future there will be incremental refresh. User can only see data based on the rules or filter that have been set for each Power BI credentials
Hi @Anonymous ,
Please refer this article.
Best regards,
Community Support Team _ zhenbw
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
If you connect to a SQL Server using Direct Query, and if you don’t want to configure the RLS, you can configure the security roles in your data source.
When a user opens a report Power BI sends a query to the underlying data source, which applies security rules to the data based on the user's credentials.
Or you can configure Kerberos-constrained authentication against the source.
But Kerberos isn't available for all sources.
Please refer this document.
https://docs.microsoft.com/en-us/power-bi/connect-data/service-gateway-sso-kerberos
Best regards,
Community Support Team _ zhenbw
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
How can I set a security rules to the data source based on user's credentials? Is it using Native Based Query?
Another question, how can I set the power bi report so that when user open the report, the report will automatically updated based on the security applied to the user credentials?
@Anonymous , Using userprincipalname means using RLS ?
Employee hierarchy -https://radacad.com/dynamic-row-level-security-with-organizational-hierarchy-power-bi
I don't want to use RLS having said that creating the roles and mapping users to a role is massive work. I want to implement the RLS principle by passing a Power BI user credentials as a parameter in SQL statement. Do you know how?
I know that we can use PATH() for hierarchy, however we will be using Direct Query and I have checked that we couldn't use Paren-Child Dax as this does not support for Direct Query.
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 | |
95 | |
77 | |
65 | |
53 |
User | Count |
---|---|
144 | |
105 | |
102 | |
89 | |
63 |