Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
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])