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
fraza
Frequent Visitor

Template App Data Source hard coded

I am creating a 'Template App' that connects to an Azure MS SQL database. 

I want the end users to be able to change the data source on the Template App to their own data source. 

  

The Template App is in pre-production so it can be shared with other organisations.

  

I have enabled the required options on 'control' when creating the App to allow the users to add their own data sources, 

As per Microsoft's guidance... 

  

'If you want to limit access to your queries and measures while still allowing your users to add their own data sources, consider checking only the Export or externally connect to data options. This enables users to add their own data sources without being able to edit your dataset'    

located here: https://docs.microsoft.com/en-us/power-bi/connect-data/service-template-apps-create 

  

The issue is the end user (whether from my own organisation or from a outside organisation) find the App Data Source always hard coded.  

 

WhatsApp Image 2021-10-19 at 13.14.58.jpeg

 (server and database cannot be edited - blanked out)

 

Anyone? 

1 ACCEPTED SOLUTION
fraza
Frequent Visitor

Using Parameters in Power Query sorted this. 

View solution in original post

1 REPLY 1
fraza
Frequent Visitor

Using Parameters in Power Query sorted this. 

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.