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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
JediMole
Helper II
Helper II

Template issue revisited. Why does my template load the dataset it was created from?!

I had posted last week about a template issue I was having, and I figured out today, I couldn't just save a report as a template, but to export it was the proper way to do it.  I knew this worked as it should because the file was mcuh less smaller in size than previous attempts.  So now I decided to create a neww blank report and use the template and while I thought it was going to work, it made the connection to the data set it was created from, and populated the report with same data. 

 

My question is, how do Ikeep it from connecting and loading the wrong data set, and add the new data sets from my other portal customer?

1 ACCEPTED SOLUTION
SamWiseOwl
Super User
Super User

Hi @JediMole 

You could delete the connection before exporting to a template.

That would still keep the visuals and formatting just the data would be removed.

 

Alternatively if you want to keep the original data connection and swap between different customers use a parameter.

SamWiseOwl_0-1731398451765.png

 

You can paramertise loads of things like filters, data sources, dates, pass values to stored procedures etc

https://learn.microsoft.com/en-us/power-query/power-query-query-parameters

 

Here is a video I (or my beard depending who you ask) wrote covering template techniques:
https://www.youtube.com/watch?v=-fpr0E1x5RY

Skip to 2:27 to see an example of parameters.


If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

View solution in original post

2 REPLIES 2
SamWiseOwl
Super User
Super User

Hi @JediMole 

You could delete the connection before exporting to a template.

That would still keep the visuals and formatting just the data would be removed.

 

Alternatively if you want to keep the original data connection and swap between different customers use a parameter.

SamWiseOwl_0-1731398451765.png

 

You can paramertise loads of things like filters, data sources, dates, pass values to stored procedures etc

https://learn.microsoft.com/en-us/power-query/power-query-query-parameters

 

Here is a video I (or my beard depending who you ask) wrote covering template techniques:
https://www.youtube.com/watch?v=-fpr0E1x5RY

Skip to 2:27 to see an example of parameters.


If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

Great, thanks for the response!  I'll give this a test today and respond.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.