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.
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.
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.
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 |
---|---|
10 | |
5 | |
4 | |
3 | |
3 |
User | Count |
---|---|
13 | |
11 | |
7 | |
3 | |
3 |