Forum Discussion

yoavcohen's avatar
yoavcohen
Regular Visitor
5 years ago
Solved

Tableau Initial SQL Equivalent in PowerBI

Hi,   When using DirectQuery, I'm looking for a way to send the name of the user that is currently logged in to PowerBI to the database before the queries to the data are sent.   In Tableau, ther...
  • Icey's avatar
    Icey
    5 years ago

    Hi yoavcohen ,

     

    Sorry to reply late.

     

    When using DirectQuery, by default, all users who consume a published report connect to the back-end data source using the credentials entered after publication to the Power BI service. This process is the same for data that's imported: all users see the same data, regardless of any security rules defined in the backend source.

     

    If you want per-user security implemented with DirectQuery sources, you should either use RLS or configure Kerberos-constrained authentication against the source. Kerberos isn't available for all sources.

     

    In your scenario, using Kerberos constrained delegation to enable seamless SSO connectivity may meet your requirements. Enabling SSO makes it easy for Power BI reports and dashboards to refresh data from on-premises sources while respecting user-level permissions configured on those sources. For the detailed operations, please refer to this document: 

    Configure Kerberos-based SSO from Power BI service to on-premises data sources - Power BI | Microsoft Docs.

     

     

    Best Regards,

    Icey

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.