I need to write an ssrs expression that checks if a parameter exists, if not it should pick another value.
I have a Year parameter in my SSRS report. The year parameter should use current year (=Year(Now())) as a default value. The problem is, january just started and we don't have data yet for 2018, so it will return an error. How do I write a default value expression that takes the current year if it exists, else the previous year?
Thanks in advance guys