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

Column update

Hi and nice to meet you,

I have two excel files which are Table1 and Table 2 as shown.

Screenshot 1.png

May i know how can i update the "cost" column in table 1 according to the invoice id in table 2 automatically?

Screenshot 2.png

 

Thank a lot!

 

Monlight

2 ACCEPTED SOLUTIONS
speedramps
Super User
Super User

Hi monlight

 

I am not sure what you mean by "update". 

Powe Bi is read only. If you want to update the excel sheet then try use Power Flow.

 

However, in Power BI Power Query you can merge the 2 sheets into 1 sheet with a Cost1 and Cost2 value.
The add a conditional column Cost = If Cost2 is null then Cost1 else Cost2.

 

Click here to see how to combine queries 

 

I am an unpaid Power BI volunteer. Please click the thumbs up if you like me trying to help. Then click solved if this fixes your problem. Thank you.

Warm regards, speedramps

 

View solution in original post

Anonymous
Not applicable

i think this is useful solution, thanks speedramps, appreciate with all of your effort!😀

View solution in original post

2 REPLIES 2
speedramps
Super User
Super User

Hi monlight

 

I am not sure what you mean by "update". 

Powe Bi is read only. If you want to update the excel sheet then try use Power Flow.

 

However, in Power BI Power Query you can merge the 2 sheets into 1 sheet with a Cost1 and Cost2 value.
The add a conditional column Cost = If Cost2 is null then Cost1 else Cost2.

 

Click here to see how to combine queries 

 

I am an unpaid Power BI volunteer. Please click the thumbs up if you like me trying to help. Then click solved if this fixes your problem. Thank you.

Warm regards, speedramps

 

Anonymous
Not applicable

i think this is useful solution, thanks speedramps, appreciate with all of your effort!😀

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.

Top Solution Authors