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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
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..

Labels (1)
1 Reply
avinashelite
MVP
MVP

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)