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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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
Community Champion
Community Champion

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
Community Champion
Community Champion

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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

Top Solution Authors