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
Anonymous
Not applicable

Query Editor per sheet

Hi 

 

I am new to power Bi and I need some clarifications please.

 

I create a data visualisation model using multiples datasources and have what I need in sheet 1

 

I would like to duplicate sheet 1 and have the same insctruction just change datasources.

 

How Can I perform this task? when I change data source for sheet2 it will also change it for sheet1

 

Thank you for your help

1 ACCEPTED SOLUTION

HI @Anonymous,

 

I was also thinking of the duplication but assumed you wanted something more structural that would allow you to do it for more files, but if is only one or two file you can do it in that way and is much easier and fastes.

 

Regards,

MFelix


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



View solution in original post

3 REPLIES 3
MFelix
Super User
Super User

Hi @Anonymous,

 

You can do this by creating a funciton and running the same set of instructions agains the same query check the link to see how to setup a custom function.

 

If you are talking about different files, you can also use the get data from folder and then choose the edit and combine option this will create the custom function for you and allow you to make changes and adapt to your needs. Check this link although is for Power Query in Excel it's the same intrstucitons as in Power BI.

 

Regards,

MFelix


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Anonymous
Not applicable

Thanks for your help @MFelix

 

I will take a look to both links I will for sure learn many things.

 

I think I have found what I need. On query editor => Manage => Duplicate. 

I just need now to recreate manualy all custom measure for each table.

 

 

HI @Anonymous,

 

I was also thinking of the duplication but assumed you wanted something more structural that would allow you to do it for more files, but if is only one or two file you can do it in that way and is much easier and fastes.

 

Regards,

MFelix


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



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.