Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Select data FROM - TO

Hi All,

We have date column named 'Report_Date' contains dates. I have 2 list boxes / calendar to select FROM - TO date and show result on basis of selection. Requirements are :

1. user can select date intersection of 2 months. Ex. 10-Apr-17 to 5-May-17.

Please guide me on this, Thanks in Adv

4 Replies
micheledenardi
Specialist II
Specialist II

You can use different method to select multiple date:

1) Single listbox and select single date or data range;

2) 2 different listbox setted with 2 different date fields and then use SetAnalysis in your expressions like:

sum({<Date={">=$(=min(MinRefDate))<$(=max(MaxRefDate))"}>}Sales)

3) Use the default QlikView calendart object with a single date field:

Immagine.png

Hope it helps

Michele De Nardi
If a post helps to resolve your issue, please accept it as a Solution.
Anil_Babu_Samineni

Just to add few inputs

1) We have to create 2 variable like

     i) MinRefDate = MonthYear(Min(DateField),'MMM YYYY')

     ii) MaxRefDate = MonthYear(Max(DateField),'MMM YYYY')

2) Here, we need to validate or choose the variable to calendar object.

3) Next is Michele points can help you

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
prma7799
Master III
Master III

Kushal_Chawda