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

Delete the source table and add a new table

Hi Team,

I have a report with multiple page created with various measure by using the tables below.

NithiyanandamK_0-1654773140428.png

 

Here we use raw data as a main table and it has some measure in it. Now our goal is to add a new table called all incident which is a add on version on rawdata(contains same information and column name as raw data with few more additional column).

 

I need to delete the raw data table and import all incidents table to the report but it should not crash my visuals and measure.

steps i know to do :  copied the measure in raw data to allincidents and  renameing the allincident to raw data and add to report and make few other changes were required but it takes me lot of time to complete.

 

Do we have any other option to have this done in simplier way......

1 ACCEPTED SOLUTION
Smalfly
Responsive Resident
Responsive Resident

Hi @Anonymous ,

 

the easiest way to do this is by using the advanced editor. So after chossing 'Transform data' and selecting the raw data table, open the advanced editor

 

Smalfly_0-1654774130289.png

This opens an M script that you can easily replace by the script that you created to load the all incidents table.

This will keep all existing measures already created on the table and all links with other tables and will hence save you a lot of copy-paste work.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Kudos!!!,This works


@Anonymous wrote:

Hi Team,

I have a report with multiple page created with various measure by using the tables below.

NithiyanandamK_0-1654773140428.png

 

Here we use raw data as a main table and it has some measure in it. Now our goal is to add a new table called all incident which is a add on version on rawdata(contains same information and column name as raw data with few more additional column).

 

I need to delete the raw data table and import all incidents table to the report but it should not crash my visuals and measure.

steps i know to do :  copied the measure in raw data to allincidents and  renameing the allincident to raw data and add to report and make few other changes were required but it takes me lot of time to complete.

 

Do we have any other option to have this done in simplier way......


 

Smalfly
Responsive Resident
Responsive Resident

Hi @Anonymous ,

 

the easiest way to do this is by using the advanced editor. So after chossing 'Transform data' and selecting the raw data table, open the advanced editor

 

Smalfly_0-1654774130289.png

This opens an M script that you can easily replace by the script that you created to load the all incidents table.

This will keep all existing measures already created on the table and all links with other tables and will hence save you a lot of copy-paste work.

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.