Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
mario-sarkis
Creator II
Creator II

script

please help

how can i write PeriodeDate > 'one year back' in the script ?

11 Replies
PrashantSangle

Hi,

Try

PeriodDate > Num(AddYears(PeriodDate,-1))

or

Date(PeriodDate) > Date(AddYears(PeriodDate,-1))

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
Anonymous
Not applicable

Hi,

Try this

PeriodDate > AddYears(Today(),-1)

PeriodDate = AddYears(Today(),-1) 


Hope it helps!!