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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Nagakarthy
New Member

How to connect all visualizations to new table (Prod Table) from existing table (Test Table) ?

My present visulizations are connected to test table , but now I have to switch all visulizations to Prod table. 

 

Please suggest me the steps, apppreciate your help on this.

 

Thanks

2 ACCEPTED SOLUTIONS
saud968
Super User
Super User

To switch all your visualizations from the Test Table to the Prod Table in Power BI, you can follow these steps:

Open Power BI Desktop: Launch your Power BI Desktop application and open the report that contains the visualizations connected to the Test Table.

Transform Data:

Go to the Home tab and click on Transform Data to open the Power Query Editor.
In the Power Query Editor, find the Test Table in the Queries pane.
Advanced Editor:

Select the Test Table and click on Advanced Editor in the Home tab.
Copy the M code from the Advanced Editor.
Create New Query for Prod Table:

In the Queries pane, right-click and select New Query > Blank Query.
Open the Advanced Editor for the new query and paste the copied M code.
Modify the source in the M code to point to the Prod Table instead of the Test Table.
Replace References:

Rename the new query to match the name of the Test Table. This will ensure that all visualizations and measures that reference the Test Table will now reference the Prod Table.
Delete or disable the original Test Table query to avoid confusion.
Refresh Data:

Close and apply the changes in the Power Query Editor.
Refresh your data to ensure that all visualizations are now connected to the Prod Table.
By following these steps, you should be able to switch all your visualizations from the Test Table to the Prod Table without having to recreate them

Best Regards
Saud Ansari
If this post helps, please Accept it as a Solution to help other members find it. I appreciate your Kudos!

View solution in original post

Uzi2019
Super User
Super User

Hi @Nagakarthy 

 

Try these method I hope this would work for you!

https://www.youtube.com/watch?v=Fd2tU-qull8

 

https://www.youtube.com/watch?v=XIq5vN5oPf8

https://www.youtube.com/watch?v=E5KngvjPoB4

https://www.youtube.com/shorts/4ePxEd2PMvQ

 

 

I hope above videos would help you to solve your query!

 

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

View solution in original post

3 REPLIES 3
Uzi2019
Super User
Super User

Hi @Nagakarthy 

 

Try these method I hope this would work for you!

https://www.youtube.com/watch?v=Fd2tU-qull8

 

https://www.youtube.com/watch?v=XIq5vN5oPf8

https://www.youtube.com/watch?v=E5KngvjPoB4

https://www.youtube.com/shorts/4ePxEd2PMvQ

 

 

I hope above videos would help you to solve your query!

 

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!
saud968
Super User
Super User

To switch all your visualizations from the Test Table to the Prod Table in Power BI, you can follow these steps:

Open Power BI Desktop: Launch your Power BI Desktop application and open the report that contains the visualizations connected to the Test Table.

Transform Data:

Go to the Home tab and click on Transform Data to open the Power Query Editor.
In the Power Query Editor, find the Test Table in the Queries pane.
Advanced Editor:

Select the Test Table and click on Advanced Editor in the Home tab.
Copy the M code from the Advanced Editor.
Create New Query for Prod Table:

In the Queries pane, right-click and select New Query > Blank Query.
Open the Advanced Editor for the new query and paste the copied M code.
Modify the source in the M code to point to the Prod Table instead of the Test Table.
Replace References:

Rename the new query to match the name of the Test Table. This will ensure that all visualizations and measures that reference the Test Table will now reference the Prod Table.
Delete or disable the original Test Table query to avoid confusion.
Refresh Data:

Close and apply the changes in the Power Query Editor.
Refresh your data to ensure that all visualizations are now connected to the Prod Table.
By following these steps, you should be able to switch all your visualizations from the Test Table to the Prod Table without having to recreate them

Best Regards
Saud Ansari
If this post helps, please Accept it as a Solution to help other members find it. I appreciate your Kudos!

Thank you so much for your help, your solution worked.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.

Top Solution Authors