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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Anonymous
Not applicable

Change Dataset

Hello Everyone,

 

I am not so used to work with PBI, so i got a question.

 

I have an excel file of the monthly registry, which is where I update the registry every month. For 2021, I therefore have 12 dataset, which are structured in the same way, but with similar data, one for each month. I uploaded the 12 tables to Power BI. I created the dashboard for the first month. Now what I would like to do is use the same report for all the ohter months, in different sheets.

How do I copy the reports but then change the source table?

 

 

Thank you in advance,

Luca

1 ACCEPTED SOLUTION

Hi, Merge all table in one and add column with year/filename.

Than you create ONE report and use this column in a filter/slicer.

Merge it in Query, and download to model just one column. Will be easier.

View solution in original post

4 REPLIES 4
v-kkf-msft
Community Support
Community Support

Hi @Anonymous ,

 

Please create a parameter with text type in the Power Query Editor and the current value is the first worksheet name of Excel. 

 

vkkfmsft_0-1645410718941.png

 

Then modify the M code of the imported worksheet and replace the worksheet name with the created parameter ("Sheet" -> Parameter1). 

 

vkkfmsft_2-1645411910255.png

 

Create the report and save the PBIX file. Upload separate PBIX files with different names to generate multiple datasets. Then modify the parameters of these datasets to the corresponding worksheets. Then refresh these datasets, and they will load correct data.

 

vkkfmsft_1-1645411818940.png

 

If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Anonymous
Not applicable

Hello,

 

Thanky for your answer, but not sure about the answer. I try to explain again my problem, which i think it is quite simple to manage.

 

I already have loaded in power bi some tables from other tables with the same name in an Excel Workbook.

lucaggr94_0-1646059041700.png

 

Now, i have created the reporto for one of these table. What i would like to do, is just replicate the same reporto for all the others tables. Is that possible?

 

Thank you in advance,

Luca

Hi @Anonymous ,

 

I see that these tables all have the same table structure, just different table names. 

 

If you want to create the same visualization for other tables in the same PBIX file, you can try duplicating pages or copying visuals to other pages and then replacing columns in the tables (but measures and calculated column will need to be recreated).

Or you can follow @AdamBoltryk 's method to associate all tables together and switch table through the slicer.

 

If you want to create a separate PBIX file for each table, you can create report templates.

Create and use report templates in Power BI Desktop 

 

 

Best Regards,
Winniz

Hi, Merge all table in one and add column with year/filename.

Than you create ONE report and use this column in a filter/slicer.

Merge it in Query, and download to model just one column. Will be easier.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.