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

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
TomBond77
Specialist
Specialist

Current Year for filter

Hi experts

What's wrong with this expression?

={$<Year={$(=<Calendar.Year(Today())}>}

The formula syntax check says "OK", but the dimension shows "invalid dimension".

Thanks for your help.

Kind Regards

Tom

1 Solution

Accepted Solutions
agigliotti

Hi @TomBond77 ,

maybe this:

=Aggr( only( {< Calendar.Year = {"$(=Year(Today()))"} >} Year ), Year )

I hope it can help.
Best Regards

View solution in original post

3 Replies
TomBond77
Specialist
Specialist
Author

I also tried this version, but not working too.

={<Calendar.Year={$(=<Calendar.Year(Today())}>}

agigliotti

Hi @TomBond77 ,

maybe this:

=Aggr( only( {< Calendar.Year = {"$(=Year(Today()))"} >} Year ), Year )

I hope it can help.
Best Regards

TomBond77
Specialist
Specialist
Author

wonderful