It is possible to set parameters to the Dashboard object when instantiated and use them anywhere in the widget properties.
Use the Parameters section within the Dashboard editor to define them.
The parameter passing must be set from the caller object using the DashboardViewer control. The syntax is as follows:
DashboardViewer1.Object = DashboardObjectName(&Parm1, &Parm2, ..., &ParmN)
The properties where parameters can be used are the following:
(1) - in addition to accepting a parameter; it also accepts a string that contains one or more parameters, for example: "&Surname, &Name".
&StartDate = &Today - 30
DashboardViewer1.Object = Statistics(&StartDate)
This property is available since GeneXus 16 upgrade 3.