How do I create the syntax for:
An If statement that checks date for current year, like so:
If (year selected by filter = current year),
then --- Sum () statement 1,
else --- Sum() statement 2)
I don´t know how to write the condition part of this IF statement in parentheses, to check if selected year is current year.