cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Aziz_Arrashid
Frequent Visitor

Add new column by multiplying column with specific row value

I need to do a multiplication from column PRICE and multiply with value from second row from column RATE as table below:

 

Aziz_Arrashid_0-1637642259250.png

Really appreciate any help on how to do it in power query.

1 ACCEPTED SOLUTION
wdx223_Daniel
Super User
Super User

NewStep=Table.AddColumn(PreviousStepName,"NewCol",each [PRICE]*PreviousStepName[RATE]{1})

View solution in original post

1 REPLY 1
wdx223_Daniel
Super User
Super User

NewStep=Table.AddColumn(PreviousStepName,"NewCol",each [PRICE]*PreviousStepName[RATE]{1})

View solution in original post

Helpful resources

Announcements
Power BI December 2021 Update_carousel 768x460.jpg

Check it Out!

Click here to read more about the December 2021 Updates!

Jan 2022 Dev Camp 768x460 copy.png

Power BI Dev Camp- January 27th, 2022

Mark your calendars and join us for our next Power BI Dev Camp!

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Top Solution Authors