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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to create expression for finding selection of weeks?

hello there,

I am planning to show the sum of sale amount for a table of weeks.

I have a table of week numbers . I want to find the sum amount for the selection of weeks I choose.

So I created 2 variables.

vminWeek= min(week_num)

vmaxWeek.= max(week_num)

How do I calculate the sum between these 2 weeks? Please help.





1 Reply
Not applicable
Author

Is this correct ?? sum({<ad_wk_num = {'>=$(=prev_wk)<=$(=prev_wk)'}>}sale_amt)