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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
BigFella
Regular Visitor

Syncing/Sharing Queries Between Reports

I'm using Power BI Desktop to create a report for our management team. The data source is a sharepoint site.

I did a "save as" on my .pbix file, then made some tweaks to create a second report specifically for the executive team.

 

Back on the original report, I made some updates to the existing queries using Query Power Editor, and added some new measures. I noticed these changes aren't reflected in the second report. Is there a way to sync my Query changes to this report so I don't have to manually recreate them? Is there a way to sync my measures too?

 

I'm a BI noob, so I'm also aware I may be going about this completely the wrong way. Is there a better method to create two reports than doing two different .pbix files, when I know I want to have them use common queries and measures?

 

Thanks in advance!!

1 ACCEPTED SOLUTION
v-eqin-msft
Community Support
Community Support

Hi @BigFella ,

 

1.How to reuse a query created in Query Editor or Power Query:

You can go to Advanced Editor and copy the applied steps.  Then paste it to the advanced editor of your new report.

Refer to:

https://www.wiseowl.co.uk/blog/s2562/reuse-power-query.htm

 

2. How to easily copy Measures from one pbix file to another?

You could use Tablular Editor, here are some detailed tutorials:

https://community.powerbi.com/t5/Community-Blog/Bulk-measure-handling-copy-between-reports-format-ch...

https://exceleratorbi.com.au/copy-measures-between-2-power-bi-files/

https://www.inkeysolutions.com/blogs/power-bi-how-to-easily-copy-measures-from-one-pbix-file-to-anot...

 

Best Regards,
Eyelyn Qin
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

3 REPLIES 3
v-eqin-msft
Community Support
Community Support

Hi @BigFella ,

 

Could you tell me if your problem has been solved? If it is, kindly Accept it as the solution. More people will benefit from it.

 

Best Regards,
Eyelyn Qin

v-eqin-msft
Community Support
Community Support

Hi @BigFella ,

 

1.How to reuse a query created in Query Editor or Power Query:

You can go to Advanced Editor and copy the applied steps.  Then paste it to the advanced editor of your new report.

Refer to:

https://www.wiseowl.co.uk/blog/s2562/reuse-power-query.htm

 

2. How to easily copy Measures from one pbix file to another?

You could use Tablular Editor, here are some detailed tutorials:

https://community.powerbi.com/t5/Community-Blog/Bulk-measure-handling-copy-between-reports-format-ch...

https://exceleratorbi.com.au/copy-measures-between-2-power-bi-files/

https://www.inkeysolutions.com/blogs/power-bi-how-to-easily-copy-measures-from-one-pbix-file-to-anot...

 

Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

MFelix
Super User
Super User

Hi @BigFella ,

 

The best option is to create the second report based on PowerBI dataset that way if you update the initial dataset the second PBIX file will get all the updates.

 

https://docs.microsoft.com/en-us/power-bi/connect-data/desktop-report-lifecycle-datasets

 

Another option is to create a dataflow that is similar:

https://docs.microsoft.com/en-us/power-bi/transform-model/dataflows/dataflows-introduction-self-serv...

 


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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Fabric Monthly Update - May 2024

Check out the May 2024 Fabric update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.