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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
huguest
Advocate II
Advocate II

Change Query but Keep Models and Visualizations

Hello, 

 

I have created several visuals using fields from one of my queries (Query1).  I have a second query (Query2) that contains the exact same fields as Query1, but with data coming from a different source.

 

Can I copy my visuals and change the source Query where the fields are located from Query1 to Query2 without recreating each of the visuals individually?

 

Thank you!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

I don't think there's any way to do this, but I would love to be proven wrong. The only thing I can think of is instead of having both data sets in one report, you could duplicate the entire PBIX file and use the second dataset there.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi,

Just wondering if there still isn't a proper way to do this?

 

Regards,

Robin

Anonymous
Not applicable

I don't think there's any way to do this, but I would love to be proven wrong. The only thing I can think of is instead of having both data sets in one report, you could duplicate the entire PBIX file and use the second dataset there.

Thanks to this solution, I have come up with this approach:

  1. Create your 2 queries (Query1 - where your visuals is connected, Query2 - just another data source with same schema)
  2. Copy the PBIX (with those queries present)
  3. Edit your copied PBIX
    1. Delete Query2
    2. Rename Query1 to Query2
    3. Copy the visuals
  4. Paste the visuals on your original PBIX Report (this would consume Query2, which is connected to other data source)

This approach preserves your visuals in just one report. 😄 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.