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

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.

Reply
acbox12
Regular Visitor

Power BI Template -- want to upload new data set but perform same calcs?

Hello,

 

I am having trouble with the Power BI Template. I thought the point of the Template was having any new files that you upload into the Template perform the same calculations that were in the original document? Although the Template I saved has a lot lower storage memory, when I open it, it immediately loads the old data sets saved into the original document. 

 

I am trying to upload a new excel CSV file into Power BI, but I want the same calculations and additional columns automatically added to this new excel data set that were already performed on the original that is already loaded in -- how can i do this? Currently, uploading a new document into the template just uploads the new excel file and doesn't automatiaclly do any sort of data manipulations. There must be some way to have your calculations automatiaclly performed on a new, but equivalently formatted file.

 

Thanks!

1 ACCEPTED SOLUTION

Hi @acbox12,

 

Here is a simple example.

 

Create a parameter which lists all available data sources.

1.PNG

 

Edit data source connection in Power Query.

2.PNG

 

Save file as Power BI template. When you open it next time, you will see

4.PNG

 

For more details, please see above links.

 

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
v-yulgu-msft
Employee
Employee

Hi @acbox12,

 

To make the Power BI Template apply to multiple data sources, you need to configure query parameter when creating template. Then, export it to Template file (.ppit). When you open it next time, you should enter the parameter value to specify which data source to connect to, so that the report will show corresponding data. 

 

For more details, please see:

Deep Dive into Query Parameters and Power BI Templates

POWER BI DESKTOP QUERY PARAMETERS, PART 1

POWER BI DESKTOP QUERY PARAMETERS, PART2 – DYNAMIC DATA MASKING AND QUERY PARAMETERS

 

Best regards,
Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

I'm still having trouble...

Hi @acbox12,

 

Have you worked it out? If so, would you please kindly mark the helpful reply as an answer or sharing your solution?

 

Regards,
Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @acbox12,

 

Here is a simple example.

 

Create a parameter which lists all available data sources.

1.PNG

 

Edit data source connection in Power Query.

2.PNG

 

Save file as Power BI template. When you open it next time, you will see

4.PNG

 

For more details, please see above links.

 

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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