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: 
Anonymous
Not applicable

LYTD

=Sum({<INSTALL_DATE={">=$(=Date(YearStart(Max(today()),-1)))<=$(=Date(addyears(Max(today()),-1))) "}>}[2017Liquidations])

Hello. My LYTD function is returning the whole year sum. How can I fix this?

1 Solution

Accepted Solutions
sunny_talwar

May be try this

=Sum({<INSTALL_DATE = {">=$(=Date(YearStart(Today(), -1)))<=$(=Date(AddYears(Today(), -1)))"}>} [2017Liquidations])

View solution in original post

1 Reply
sunny_talwar

May be try this

=Sum({<INSTALL_DATE = {">=$(=Date(YearStart(Today(), -1)))<=$(=Date(AddYears(Today(), -1)))"}>} [2017Liquidations])