This document explains how to filter dashboard data using parameter variables. We will create 2 combo boxes to set up a parameter start and end date. By changing the value of these parameters, we will be able to apply a filtered query to our database.
We need to have two parameters in the worksheet allowing us to define a start and end date. In our case they are called StartDate and EndDate.
![]()
![]()

For this we can use the following javascrit code:
ComboBoxStart.selectedObject = dateAdd('d', -3, new Date());
ComboBoxEnd.selectedObject = new Date();
refreshData();

parameter.StartDate = ComboBoxStart.selectedObject;
parameter.EndDate = ComboBoxEnd.selectedObject;
refreshData();
