Hi there,
I have a PQ output with vendor invoicing data in the form of one header and a variable number of transactions. This data needs to be uploaded to SAP where the max no of rows that can be uploaded in one file is 999.
I need to split the table into multiple tables where the SAP limit is observed and each table includes the full billing details for each Vendor (header row 1 plus a variable no of transactions on each invoice).
In my screenshot the last vendor before row 999 is on data row 920 (col.T) so I want data rows 2 to 919 to be split into a table called Upload 1.
Subsequently I want to continue down so that Upload 2 has row 920 as the first data row and row 1,914 will be the first data row for Upload 3.
I have been manually splitting the file in Excel but I would love to have solution in PQ or alternatively a dynnamic formula in col.Y but I'm struggling to to furmulate a function using COUNTIFS and INDIRECT.
I hope you can help please.
William
I have a PQ output with vendor invoicing data in the form of one header and a variable number of transactions. This data needs to be uploaded to SAP where the max no of rows that can be uploaded in one file is 999.
I need to split the table into multiple tables where the SAP limit is observed and each table includes the full billing details for each Vendor (header row 1 plus a variable no of transactions on each invoice).
In my screenshot the last vendor before row 999 is on data row 920 (col.T) so I want data rows 2 to 919 to be split into a table called Upload 1.
Subsequently I want to continue down so that Upload 2 has row 920 as the first data row and row 1,914 will be the first data row for Upload 3.
I have been manually splitting the file in Excel but I would love to have solution in PQ or alternatively a dynnamic formula in col.Y but I'm struggling to to furmulate a function using COUNTIFS and INDIRECT.
I hope you can help please.
William