cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

Report User Based Data Permissions

Our environment is Microsoft Power BI Desktop (optimized for Report Server) Version: 2.76.5678.1521 64-bit (January, 2020).  Microsoft Power BI Report Server Version 15.0.1102.759 (January 2020).

 

We have a report that connects to the data source (an SQL Server database) through a service account. We want this report to be viewable by everyone os we need to add some form of security so that Company A cannot look at Company B's results. Is it possible to grab a dataset and pass it to the Power Bi report to use, or pass their credentials so that the queries can limit the data they see? As it connects to the data source through row a service account, it does not look like row level security will be the solution.

 

We are able to get the users credentials through C#. Is there any way to pass them to the report? Or, get the allowed data beforehand and pass it to the report (like a virtual flat file)? Also, through report security is also based on AD groups so the user login is recognized. Is there any way the report can retrieve the AD user login from the Power BI Report Server? Looking for a solution, suggestions, tips.

1 REPLY 1
Highlighted
Frequent Visitor

Re: Report User Based Data Permissions

I've done this by looking up the current AD user in DAX and filtering the data based on a dataset that links that user name with some category. It works but can be a bit messy if you have a lot of datasets and visuals in your report. Much easier to do in SSRS/Paginated reports.

Helpful resources

Announcements
Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

Using the Community

Using the Community

Need help with the Power BI Community? Our 'Using the Community' support articles are a great place to start.

Galleries

Galleries

Looking for inspiration on how to present your data? Need instructional videos? Check out our Galleries!

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors