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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
arulsettu
Master III
Master III

LYTD is not ging correct result

     hi

i used this script for lytd

POL_APPROVAL_Date={">=$(=YearStart(max(date(POL_APPROVAL_Date)),-1))<=$(=num(addYears(Date(Today()-1),-1)))"}

POL_APPROVAL_Date = date(floor(tp_ap_date)



can any one suggest some idea

4 Replies
satishkurra
Specialist II
Specialist II

Try this. Assuming Sales is the measure and Use Date as POL_Approval_Date

=Sum({$<Date={">=$(=Num(YearStart(Max(Date),-1)))<=$(=AddYears(Max(Date),-1))"}>}Sales)

arulsettu
Master III
Master III
Author

Sunny T here is the sample app pls take alook

sunny_talwar

No data to sum here

Capture.PNG

arulsettu
Master III
Master III
Author

will check thanks for your time sunny