ExcelAtEverything
Active Member
- Joined
- Jan 30, 2021
- Messages
- 351
- Office Version
- 2019
- Platform
- Windows
Hello!
I'm looking for some code to plugin to the query editor which will allow me to keep only the earliest date for each Item code / Shipment ID combination. Here's what I mean exactly.
This will be the very last line of code before my "in". Here is the 1st part of the line where I want to insert the code after:
I'm looking for some code to plugin to the query editor which will allow me to keep only the earliest date for each Item code / Shipment ID combination. Here's what I mean exactly.
- The middle column shows the item code for each item sold.
- The left column shows the shipment ID# for the delivery package of that actual unit when it was delivered. showing a unique shipment ID for each time it was delivered.
- The right column are sale dates for each time an item was sold.
This will be the very last line of code before my "in". Here is the 1st part of the line where I want to insert the code after:
Power Query:
#"Renamed Columns4" = Table.RenameColumns(#"Extracted Last Characters",