Hi. Anyone who can see what the error is in my variable? I got right answer when using the YTD but this time I am substracting -1 to get last year YTD. If i take away the 'YYYYMMDD' part I get a number. But i want it in that format and not written as 43000..