I would like to create a formula that shows only the last line that is not equal to zero. As you can see in the picture below (left), all of the lines are being shown in the report even if the quantity is zero. Is there a way I could do a "if then" statement like If {compQty_form} = 0 then use previous line. I would also like for it not to show the lines that are zeros or the lines before, only the line that is just before the first zero if possible.