Problem in displaying a conditional summation in a cover sheet RRS feed

  • Question

  • Hi guys,

    My report generates a payroll history for a company and it generates information from the last five years.

    I've inserted a page break to make a cover page with a summary of the information.

    I need to present two pieces of information: the total for the current year and the total for the previous years.

    I've tried using an "IIF" related expression for the year(ano), but it brings the first result found rather than the added value of a "loop" in all the years present in the report.

    Any suggestion?

    • Edited by Jorge_Luiz Wednesday, June 5, 2019 4:28 PM
    Wednesday, June 5, 2019 4:27 PM