r/ExcelPowerQuery • u/gumpert7 • Mar 27 '25
Replicate excel formula in PowerQuery
Hi All
I am trying to replicate this table, but in PowerQuery where Column D is a Custom column:

Basically Columns A to C is the dataset, cells in column D I am able to create within Excel with the use of formula =XLOOKUP([@Vehicle]&"retire",[Vehicle]&[Destination],[Travel Date]). Given columns A to C, is there a way i can replicate the creation of Column D within PowerQuery?
2
Upvotes
View all comments
Show parent comment
1
u/simple_onehand Mar 29 '25
TBH, that's how I learned and use PQ on a daily basis. When does one not use the UI?