Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
gkcchowdary
Creator
Creator

how to display in b/w selected values?

my data like

date:

1/1/2014

2/2/2014

3/3/2014

4/4/2014

.

.

.

.

.

11/11/2014

12/12/2014

when i select any two dates i want display in between date data display.

ex: i selected 2/2/104 and 8/8/2014 dates .so i want display in b/w this two dates .how?

4 Replies
Anonymous
Not applicable

Hi, the following expression works =max(Date)-Min(Date) - it will find the maximum and minimum date in your date field and return the answer in days (it will work on your selected dates). Hope this helps.

Not applicable

Try Alternate States

Not applicable

Define the Variables vStartdate and vEnddate.

please find the example Setanalysis expression for the chart

=count({<CreatedDate={"$(= '>=' & date(date#('$(vStartDate)','DD/MM/YYYY')) & '<=' & date(date#('$(vEndDate)','DD/MM/YYYY')))"}>}FeedbackNumber)

jagan
Luminary Alumni
Luminary Alumni

HI,

Try like this

=Count({<Date={">=$(=Date(Min(Date)))<=$(=Date(Max(Date)))"}>} MeasureName)


Hope this helps you.


Regards,

Jagan.