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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
kunkumnaveen
Specialist
Specialist

lytd

Hello All,i want to known the expression the one i written is correct on are not please

suppose i got a field name

li

salesdate(dd-mm-yyyy)

01-01-2014

02-01-2014

----------------

------------

------------

31-12-2015

what i want  to say is like i got 2 yr of data, the expression what i had written for LYTD IS some thing like this\

sum({$<salesdate={">=$(=yearstart(max(salesdate)-1))<=$(=date(addmonth(max(salesdate),-12)))}>}sales)

1 Reply
Chanty4u
MVP
MVP

hi,

go through below link

Re: YTD vs LYTD

thanks

suresh