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

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Range

Dear all

user selected  the from date to  two date  then should show the values

1 Solution

Accepted Solutions
jagan
Partner - Champion III
Partner - Champion III

Hi,

Regards,

Jagan.

View solution in original post

9 Replies
nirav_bhimani
Partner - Specialist
Partner - Specialist

Hi,

take two input box inside that  create a variable.

vStartDate

vEndDate


try this Exp

=Sum({<Date={">=$(=vStartDate)<=$(=vEndDate)"}>}Sales)

Hope this will help you.

Regards,

Nirav Bhimani.

jagan
Partner - Champion III
Partner - Champion III

Hi,

=(sum({<SHKZG ={'S'}>} MENGE)) - (sum({<SHKZG ={'H'}>} MENGE))-----------openin

Regards,

Jagan.

Not applicable
Author

thank for uer   reply  but   it showing   incorrect  dates  like 30-DEC-1988 ,please check it and send me  once

jagan
Partner - Champion III
Partner - Champion III

Hi,

Check your date format and use this expression it works.

=Sum({<DateNum={">=$(=vStartDate)<=$(=vEndDate)"}>}Sales)

Regards,

Jagan.



jagan
Partner - Champion III
Partner - Champion III

Hi,

Try this,

=sum({<SHKZG ={'S'}, DateNum={'>=$(=Num(vStartDate))<=$(=Num(vEndDate))'} >} MENGE)

Regards,

Jagan

nirav_bhimani
Partner - Specialist
Partner - Specialist

Hi surik147

My expression is working.please find the attachment.

Regards,

Nirav Bhimani

jagan
Partner - Champion III
Partner - Champion III

Hi,

Please find attached file.

Regards,

Jagan.

jagan
Partner - Champion III
Partner - Champion III

Hi,

Regards,

Jagan.

Not applicable
Author

hai

thank you   for uer  reply

=if((Datefield) < startdate ,(sum(if(ABC ='C,'XYZ))) - (sum(if(ABC ='D',XYZ))))

same  expression  i need in   set analysis

Regards

surik147