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: 
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)