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: 
thomakel
Contributor III
Contributor III

Startdate & Enddate from same date field

Hi ALL,

I want to have a calculation between Start- and Enddate.

In QlikView I can easily do with "Set Analysis", creating date lists for two variables vStartdate & vEnddate and using these variables as dropdown in a "Input Box".

In QlikSense I don't see how to use variables in"Input Box" with dropdown.

What I try to do now is create date selection base on basic QlikSense "Filters" (Filter pane).
It should look like this:

But how I can create Startdate and Endate base on same date field?


Thx in advance.


BR
Thomas

2 Replies
agigliotti
Partner - Champion
Partner - Champion

You can use the extension below to allow the user to set the value of a variable.

Qlik Branch

Hope this helps.

Gysbert_Wassenaar

You can't create Startdate and Enddate based on the same field. You can create separate data island tables for Startdate and Enddate and derivative fields for year and month. Then you can add filter panes for those fields in which the user can select values. You can then use the selected values in these fields in your set analysis expression:

sum({<OrderDate = {">=$(=min(Startdate))<=$(=max(Enddate))"} >}Amount)


talk is cheap, supply exceeds demand