In this document, we are going to explain about usage of DATE RANGE PICKER component in Dashboard Designer.
1. While creating adhoc report, we have to add 2 different date or date time filters on same date or date time column. 1 filter for Starting Date with condition Greater Than or Equal to and 1 filter for Ending Date with condition Less Than or Equal to. The filterlabels which we have kept is StartDate and EndDate. You can keep the filter labels of your choice.
Even if you would like to use range picker and want to use DateRange, do not apply “In Range” “Not In Range” “In Between” “Not in Between” kind of options, rather use StartDate and EndDate option.
2. Once the report is created, add the report in Dashboard Designer. You will have 2 different Variables which you have added as filter at report level. In our case the filtervariables are StartDate and EndDate.
3. In order to create DateRangePicker component, go to OBJECTS -> Dashboard Component -> DateRangePicker
4. Click on DateRangePicker, it will open a pop up.
5. In the Set Dashboard Variable -> Select both StartDate and EndDate variable names i.e. we are setting the dashboardvariables. In the Display Format and Output Format mention the format of your date or date time.
6. On the report add Listeners and Input. Once done click on refresh icon present at the top blue bar.
7. Now from DateRangePicker select the start and end date range and accordingly report will filter out the data.