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: 
has75042
Creator
Creator

Previous week

I am using this set analysis =Sum({$<[CalendarLink]={'(=vPreviousWeek)'}>}OTHours) to get my previous week data, this expression is not giving me the right result.

My variable is as follows:

=date(CalendarLink-7)

1 Solution

Accepted Solutions
andrey_krylov
Specialist
Specialist

Hi, Haseeb.  I think you've missed a $ sign. Try this

=Sum({$<[CalendarLink]={'$(=vPreviousWeek)'}>}OTHours)

View solution in original post

1 Reply
andrey_krylov
Specialist
Specialist

Hi, Haseeb.  I think you've missed a $ sign. Try this

=Sum({$<[CalendarLink]={'$(=vPreviousWeek)'}>}OTHours)