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
I have ten customers who would like to use the same Power BI report. Each customer has its own sql database. What is the best way to create reports? Is it necessary to create ten copies of the report and change the database name in the connection string? Is there a different way?
Another question: Is there an automatic procedure for publishing reports in the ten target areas?
Thank you
Riccardo
Solved! Go to Solution.
Hi @RiccardoBefore,
There are two methods:
1. Export the report to pbit file, then open the pbit file in Power BI desktop, enter a different server name and database name to crate a new report with different data. Repeat this step with other different SQL server instance. See: https://powerbi.microsoft.com/fr-fr/blog/deep-dive-into-query-parameters-and-power-bi-templates/
2. Create a report in Power BI desktop to retrieve data from all SQL server instances. Then create RLS roles to filter data for different accessed users. See: https://docs.microsoft.com/en-us/power-bi/service-admin-rls
To publish the report to Power BI service desired workspace, instead of using Publish button in Power BI desktop, you can also call Imports - Post Import In Group API.
Best Regards,
Qiuyun Yu
Hi @RiccardoBefore,
There are two methods:
1. Export the report to pbit file, then open the pbit file in Power BI desktop, enter a different server name and database name to crate a new report with different data. Repeat this step with other different SQL server instance. See: https://powerbi.microsoft.com/fr-fr/blog/deep-dive-into-query-parameters-and-power-bi-templates/
2. Create a report in Power BI desktop to retrieve data from all SQL server instances. Then create RLS roles to filter data for different accessed users. See: https://docs.microsoft.com/en-us/power-bi/service-admin-rls
To publish the report to Power BI service desired workspace, instead of using Publish button in Power BI desktop, you can also call Imports - Post Import In Group API.
Best Regards,
Qiuyun Yu
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.