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

Announcements
FLASH SALE: Save $500! Use code FLASH2026 at checkout until Feb 14th at 11:59PM ET. Register Now!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Week vs. Week

Hello,

Trying to compare week to date vs. previous week to date.

I have a text box set up which displays the sum of "Sales" for week to date but not sure how to add an additional text box which displays the previous week to dates performance performance.


Cheers


Chris

Labels (1)
2 Replies
el_aprendiz111
Specialist
Specialist

Hi,

sum({<Week={$(=Max(Week)-1)}>}Sales)

shraddha_g
Partner - Master III
Partner - Master III

try

sum({<DateField = {">=$(=Date(Max(WeekStart)-7))<=$(=Date(max(DateField)-7))"}>}Sales)