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,
So we have direct query to SQL Server and SSAS,
Is it possible to acheive row level security with SQL Server?
With tabular analysis server we can achieve this using live connection option I think, now I have another problem with this.
My power bi user name is dilkush.patel@xyz.com and my windows login is abc\dpatel
with this configuration is it possible to acheive row level security?
Thanks,
Dilkush
Solved! Go to Solution.
@dilkushpatel, no. The only sources that can be utilized with RLS in PBI are SSAS Multidimensional and SSAS Tabular. This may change in the future, but for now this is the case.
SQL 2016 supports RLS, but the Enterprise Gateway, which PBI uses for Direct Query against SQL sources will only use stored credentials for a SQL data source. This may change in the future, but for now this is the case.
@dilkushpatel We have given a webinar on implementing row level security as provided here !
@dilkushpatel RLS is only available for use with a SSAS connection atm. For your other question, I'm not 100% on termanolgy here, but essentially you need to be using Azure AD and have synced your user accounts to be able to pass your creds. Second, once you set up the Analysis Services Connector or Enterprise Gateway you should have access to see your models. (Provided you have the appropriate permissions on the back end.
Direct Query = DAX -> SQL conversion layer to connect to SQL-based sources.
Live connection / explore = live queries against SSAS.
Only the latter passes EffectiveUserName to the source DB where it can be used to determine security.
As @Seth_C_Bauer said, the only data source in PBI that allows role-based security is SSAS.
Thanks @Seth_C_Bauer and @greggyb
With SQl 2016 i think row level security is possible so If I use windows authentication and my users are synced with active directory will row level security work?
just a curiosity.
Thanks,
Dilkush
@dilkushpatel, no. The only sources that can be utilized with RLS in PBI are SSAS Multidimensional and SSAS Tabular. This may change in the future, but for now this is the case.
SQL 2016 supports RLS, but the Enterprise Gateway, which PBI uses for Direct Query against SQL sources will only use stored credentials for a SQL data source. This may change in the future, but for now this is the case.
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 |
---|---|
105 | |
94 | |
75 | |
63 | |
62 |
User | Count |
---|---|
137 | |
105 | |
104 | |
80 | |
63 |