Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Mastering Change Data Capture: Read Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

load current year

Hi Experts

I have the following expression:

resident job where Gesellschaft = 'DC' AND Jahr=2014 group by jobnr;

How can I insert the current year instead of hardcoding it?

Thank you for your help!

Jan

1 Solution

Accepted Solutions
Colin-Albert
Partner - Champion
Partner - Champion

year(today()) will return the current year

where Gesellschaft = 'DC' AND Jahr=year(today())

group by jobnr;

View solution in original post

3 Replies
Colin-Albert
Partner - Champion
Partner - Champion

year(today()) will return the current year

where Gesellschaft = 'DC' AND Jahr=year(today())

group by jobnr;

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

resident job where Gesellschaft = 'DC' AND Jahr=Year(today()) group by jobnr;


talk is cheap, supply exceeds demand
Not applicable
Author

merci