Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
Can someone please tell me what is wrong with the below statement
=sum({$<CrimeYear = {$(vCrimeYear) - 1}, CrimeMonth = {"<=$(vCrimeMonth)"}>} Casenum )
Actually I have used the below expression for Current YTD
=sum({$<CrimeYear = {$(vCrimeYear)}, CrimeMonth = {"<=$(vCrimeMonth)"}>} Casenum )
I wanted to have a Previous YTD so that I wondered if I could simply substract the year by one..$(vCrimeYear) - 1 but its not working. I am sure I am making a syntax mistake so I will appreciate if someone could correct my expression
Regards
Arif
=sum({$<CrimeYear = {$(=$(vCrimeYear) - 1)}, CrimeMonth = {"<=$(vCrimeMonth)"}>} Casenum )