Forum Discussion
huguest
8 years agoAdvocate 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 dif...
- Anonymous8 years ago
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.
Anonymous
8 years agoNot 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.
- v-naflo6 years agoMicrosoft Employee
Thanks to this solution, I have come up with this approach:
- Create your 2 queries (Query1 - where your visuals is connected, Query2 - just another data source with same schema)
- Copy the PBIX (with those queries present)
- Edit your copied PBIX
- Delete Query2
- Rename Query1 to Query2
- Copy the visuals
- 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. 😄