How to use current user credentials in published Power BI report?

Cook, Kris 0 Reputation points
2024-07-26T15:38:37.25+00:00

We are using Power BI as our reporting and dashboard tool for our Snowflake data warehouse. WE have a need for a published report to use the credentials of the person calling the report rather than the person who created and published the report, and have been unable to determine a way of doing this.

We have two data visibility restrictions that need to be enforced. First, based on the user's role, they are limited as to what columns of data they can see; we're enforcing this with a data masking policy in Snowflake. Second, we have a need to restrict which rows are visible to certain individuals based on their role; we have a row access policy in Snowflake which determines through a user-defined function call what customers' data are visible to a user.

Both of these work in perfectly well in Snowflake, but when called from Power BI, the data returned is based on the user who published and shared the report rather than the one executing it.

Is there a way to pass through the calling user's ID instead of the publisher's?

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
37,802 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. pnaroju 2,630 Reputation points Microsoft Vendor
    2024-07-27T04:29:27+00:00

    Hi Cook, Kris,

    Thank you for reaching out to us on the Microsoft Q&A forum. 

    This topic is currently not supported in the Q&A forums. 

    We recommend initiating a new discussion through the https://community.fabric.microsoft.com/t5/Power-BI-forums/ct-p/powerbi

    Moderators are readily available there to assist you and provide guidance. 

    Please don't forget to Accept helpful answer and close this thread. 

    0 comments No comments