Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
PaolaFarias
Frequent Visitor

Multiple datasources and connections on API

Hi everyone! 

 

My company is developing an web application, we want to work with Power BI via API or Embedded, the thing is, we have multiple costumers with different data on same structured datasources, on SQL. I'm using on-premise data gateway to connect my datasources online, but can i set different datasources to the same reports, dashboards according to the costumer's login on my application? Power BI its the best solution so far we encountered but we really need this to attend our needs. 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@PaolaFarias,

Do you want to achieve that when user signs in application, he can change data source of the report embedded in the application? If so, according to my knowledge, it is not possible.

Regards,
Lydia

View solution in original post

5 REPLIES 5
Jean-Christophe
New Member

Is it now possible to do it in April 2021 ?

Another question : Wich products have you found that makes it possible ?

 

Anonymous
Not applicable

@PaolaFarias,

Do you store different data for different customers in different SQL Server instances and different databases?

If so, in Power BI Desktop, you can consider to create a Power BI report template(PBIT) with data source parameters, then send the PBIT file to your customers . The customers can instantiate the PBIT and generate report with their own data, after that, they can publish the PBIX file to Power BI Service.

For more details, please review the following  blog and similar thread.

https://powerbi.microsoft.com/en-us/blog/deep-dive-into-query-parameters-and-power-bi-templates/
https://community.powerbi.com/t5/Desktop/How-to-create-a-template-with-a-different-data-source-every...


Regards,
Lydia

Ok, thank you very much, but unfortunately it doesn't attend to our needs now.

Anonymous
Not applicable

@PaolaFarias,

Do you want to achieve that when user signs in application, he can change data source of the report embedded in the application? If so, according to my knowledge, it is not possible.

Regards,
Lydia

Yes, exactly what we are trying to do. See, we are a SaaS, and our costumers don't have time or knowledgement to change the datasources to see their reports... Anyway, we have found some products on the market that makes it possible. I have posted this suggestion on Ideas page already, hope power bi can support us on the future.    

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.