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

Announcements
Save an extra $150 Dec 1–7 with code CYBERWEEK - stackable with early bird savings: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
praveenkumar_s
Creator II
Creator II

Values between range

Hello to all genius,

     I have one date column and sales column, If i select from and to date , the sum of sales between the dates must be shown. How can i done pls let me know..

1 Reply
avinashelite

Create 2 variables for the start and end data ...

vStartdate

vEnddate

then if(date>=vStartdate and date<=vEnddate,Sum(Sales))

or

sum({<date={>='$(vStartdate)'<='$(vEnddate)'}>}Sales)