Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
If you select a year, the data that count() function will get as input is limited to that year by default.
You probably need to use set analysis to disregard the current year selection:
Count ({<OpenedYear= >} if (InYearToDate (Matters.OpenedDate, SetDateYear('31/12/2012', GetFieldSelections(OpenedYear)), -1), Matters.OpenedDate))
You can probably also replace your if() function with set analysis, please check out the set analysis section in the Help file.
Regards,
Stefan
If you select a year, the data that count() function will get as input is limited to that year by default.
You probably need to use set analysis to disregard the current year selection:
Count ({<OpenedYear= >} if (InYearToDate (Matters.OpenedDate, SetDateYear('31/12/2012', GetFieldSelections(OpenedYear)), -1), Matters.OpenedDate))
You can probably also replace your if() function with set analysis, please check out the set analysis section in the Help file.
Regards,
Stefan
Thank you that worked perfectly.