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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources 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..

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)