Using a Skip Row Calculation to Ignore Total Rows or 0 Value Income Lines

You may find yourself uploading an income 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 income 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 royalty line. In our below example, the Total Row would be specified in the statement by the word Total in the first column of our income file. But it's very likely that your income file has a different format and therefore requires a unique condition to trigger Curve when to skip the royalty line. 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 royalty line in the import.

For the Total-row example, select Any One of the Below under When and click + Condition. Set Input Type to Column, Input Value to 1, Comparison to Equals, and Value to Total. Select Skip Row as the Output Field, then click Save.

To skip zero-value income lines, use a condition that checks the relevant amount field, such as Net Amount, for a value of 0 and select Skip Row as the Output Field. If the same calculation should skip either Total rows or zero-value lines, add both conditions and select Any One of the Below under When.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us