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
JML
New Member

Repeating reports from different data sets

Hi all,

 

I'm using PowerBI Desktop to create reports for a software platform that we sell. Reports are based on ~10 csv files that we export from the platform. I'm pretty new to PowerBI and looking for the best way to make this scalable, with as little manual work each time.

 

The report is great as a one off. But... we need to repeat the report each month, and for a growing number of customers, each time with a new set of csv files.

 

Currently I can refresh the report by changing the source for each csv, replacing them with new ones, and each time saving the report as a new .pbix file. I'm sure there's a more sensible way to be doing this.

 

Any suggestions would be gratefully received!

 

Jon

1 ACCEPTED SOLUTION
v-sihou-msft
Employee
Employee

@JML

 

For your requirement, you can create Query Parameter to set a dynamic data source. Please refer to sample below:

 

11.PNG

 

22.PNG

 

1. Create a File Name parameter.

 

33.PNG

 

2. Modify the Power Query in Advanced Editor.

 

44.PNG

 

3. Then you can get a dynamic dataset based on selection in Query Paramete (you need to Apply Changes after select):

 

55.PNG

 

66.PNG

 

 

77.PNG

 

Regards,

 

View solution in original post

3 REPLIES 3
v-sihou-msft
Employee
Employee

@JML

 

For your requirement, you can create Query Parameter to set a dynamic data source. Please refer to sample below:

 

11.PNG

 

22.PNG

 

1. Create a File Name parameter.

 

33.PNG

 

2. Modify the Power Query in Advanced Editor.

 

44.PNG

 

3. Then you can get a dynamic dataset based on selection in Query Paramete (you need to Apply Changes after select):

 

55.PNG

 

66.PNG

 

 

77.PNG

 

Regards,

 

Thanks for the replies - that solution works - just took a while to work through for a novice. Thanks!

BhaveshPatel
Community Champion
Community Champion

You can use " From Folder" option as a data source or Creating Parameters. 

 

In From Folder option, You just have to replace the old files with new files. Please Watch this VIDEO for more on this.

 

For use of Parameters, Please see this BLOG.

 

 

 

Thanks & Regards,
Bhavesh

Love the Self Service BI.
Please use the 'Mark as answer' link to mark a post that answers your question. If you find a reply helpful, please remember to give Kudos.

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.