Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi experts
I would like to load data but only data from the current year. this is my expression:
resident job where Jahr = 2014 group by prodnr;
How can I define the current year instead of hardcoding it?
Additionally, I would like to load data from last year but only until the current date last year.
How would I habe to script this?
Thank you very much for your help!
Jan
Year(Today())
let me know
Hi Allesandro
Works, cool. Do you also have an expression for the second part of my question?
Thank you for your help!
Jan
Hi Jan,
You can use the year(today()) functions in order to find the current year.
Just use the where YourDateField>=makedate(year(today())-1,month(today()),day(today()))
regards
Hi
Thank you for your help!
Hm, that expression did not work for me...
Jan