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

Replacing a Excel table with a Database View

I developed a dashboard from an Excel table. Now, I am able to get the same data from a database view.

I'm going to repeat all the data transformation processes (ETL) I did for the Excel table for the View by copying and changing the "M" code in the advanced editor, but since the view and the Excel table have different names how do I change the graphics reference to table columns. For example, visual elements that uses "excel table [sales]" column will need to be replaced to "view name [sales]". Since there are many elements, I ask if there is a more practical way of replacing all of them.

 

Thanks.

1 ACCEPTED SOLUTION
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous,

 

There is no easy way to directly replace all the table/column names used in visuals at the same time. You may need to recreate the visuals in new report.

 

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
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

1 REPLY 1
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous,

 

There is no easy way to directly replace all the table/column names used in visuals at the same time. You may need to recreate the visuals in new report.

 

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.