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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
master_student
Creator III
Creator III

date dimension

Hello Guys,

I need your help.

I want to add a condition in my expression so that it will displays values of 2016 year until today

num(sum( {$<[Year of date]={$(=Max([Year of date])-1)}>}  RVN_AIRTIME),'# ##0')

Labels (1)
4 Replies
devarasu07
Master II
Master II

Hi,

You can try like this

num(sum( {$<[Year of date]={">=$(=Max([Year of date])-1)<=$(=Max([Year of date]))"}>}  RVN_AIRTIME),'# ##0')

master_student
Creator III
Creator III
Author

no it didn't work, i would like that the dates of year 2016 would be until today 12/10 without displaying the year

Anil_Babu_Samineni
MVP
MVP

Perhaps this?

num(sum( {$<[Year of date]={'$('<=' & =Today())'}, Year = {'$(=AddYears(Max(Year),-1))'}>}  RVN_AIRTIME),'# ##0')

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
its_anandrjs
Champion III
Champion III

Do you have any date field.