Using a Skip Row Calculation to Ignore Total Rows or 0 Value Sales Lines
You may find yourself uploading a sales file which holds a total row at the bottom of the statement, and find Curve importing this line as an invalid row. Deleting this line from your database is a short term solution, but even better, you can write a Calculation in your Template that tells Curve to ignore this Total Row at the moment you upload your sales file. In this article, we will discuss how to write such a Calculation.
You can add this Skip Row rule via the Calculation tab of your Template. First, you will need to specify under which circumstances you wish Curve to ignore the sales line. In our below example, we are working with a sales file where the total row can easily be recognised by the line having the word "Total" in the first column, and so we are setting the calculation with that parameter as its condition. In the Output Field, you then select the value Skip Row. You're essentially telling Curve that if your conditions are met, then it can ignore this sales line in the import.
