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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
BarryM
Helper II
Helper II

Trying to insert data from multiple tables into another existing table based on column names

I have a PBIX file with 9 different tables. 1 of the tables is essentially a history table which contains all the data from the start of this project. The other 8 tables contain data which is updated twice a week.

 

In 4 of the tables the names used in in the relationship column are long disjointed names, I have 1 of the 8 tables that is used to translate the long disjointed names into the more descriptive names used in the other tables. The relationships for the tables are all active.

 

I need to get all the information from all the other tables (except the reference table) into the "history" tables without loosing any of the existing data in the history table essentially append the data into the correct columns. 

 

I have been trying to figure out how to pull the data out of the bi-weekly updated tables and place it into the correct cloumns in the "history" table but I have had no luck with anything I've attempted.

 

Below is a screen shot of the relationship between the tables and the the arrows indicate where the data need to end up for context.

 

BarryM_1-1634933723249.png

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @BarryM 

Power BI doesn't support to dynamicly insert values into Existing columns.

I think you can try to add calculated columns into your history table. I see you create relationship between your tables, you can try related function, userelationship functions ,or filter in your code.

Or you can try merge function in Power Query.

For reference: 

Combine queries

Both calcualted column or Combine queries will show the latest value from other tables.

 

Best Regards,
Rico Zhou

 

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

Hi @BarryM 

Power BI doesn't support to dynamicly insert values into Existing columns.

I think you can try to add calculated columns into your history table. I see you create relationship between your tables, you can try related function, userelationship functions ,or filter in your code.

Or you can try merge function in Power Query.

For reference: 

Combine queries

Both calcualted column or Combine queries will show the latest value from other tables.

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.