stockmarket123
New member
- Joined
- Jan 21, 2017
- Messages
- 6
- Reaction score
- 0
- Points
- 0
- Location
- Vancouver BC
- Excel Version(s)
- Excel 2016
Hi there
I am using Power Query to import some standardized customer payment reports (csv format) and then clean them up further.
The customer payment reports would be in the following format: The first 6 rows would describe the payment file in general (eg. Payment reference #:, date of deposit:, payee number:, etc) followed by multiple rows of all the invoices and $ amounts of the invoices.
After using a conditional column to extract the "payment reference#" and the "date of deposit" into new columns, I promote the first row as headers so that my columns are properly named.
The issue I am having: Since the payment reference # and the date of deposit are already shown as headers, it gets replaced by the actual data itself. For example, "1020362" and "30-JUL-2018" would show up in the column header incorrectly. All the other columns have the correct header information (eg. Invoice No., Invoice Amt) except these 2 aforementioned columns.
Is there any workaround solution? Please keep in mind I am not a coder by any means, so hopefully the solution is within the actual Power Query GUI.
I am also attaching a sample file (TEST COMPANY), and you can drill down to the actual query model (GLS Payments) to see further.View attachment TEST COMPANY PAYMENT TEMPLATE.xlsx
Thank you
I am using Power Query to import some standardized customer payment reports (csv format) and then clean them up further.
The customer payment reports would be in the following format: The first 6 rows would describe the payment file in general (eg. Payment reference #:, date of deposit:, payee number:, etc) followed by multiple rows of all the invoices and $ amounts of the invoices.
After using a conditional column to extract the "payment reference#" and the "date of deposit" into new columns, I promote the first row as headers so that my columns are properly named.
The issue I am having: Since the payment reference # and the date of deposit are already shown as headers, it gets replaced by the actual data itself. For example, "1020362" and "30-JUL-2018" would show up in the column header incorrectly. All the other columns have the correct header information (eg. Invoice No., Invoice Amt) except these 2 aforementioned columns.
Is there any workaround solution? Please keep in mind I am not a coder by any means, so hopefully the solution is within the actual Power Query GUI.
I am also attaching a sample file (TEST COMPANY), and you can drill down to the actual query model (GLS Payments) to see further.View attachment TEST COMPANY PAYMENT TEMPLATE.xlsx
Thank you