Basically I have add the filter option to the dashboard for two different date fields which are Batch date and Selection date as shown in below.
Could some one help me how to create the one drop down for both the date fields. These should be listed as a “Date Type” for the filter name and then users should be able to pick one of these two options.
If you want to just filter by one of the two date fields and not both, you can also take a look at this post:
This solution isn’t specific to date fields. You have one control to select what field would want to filter by and the second control is your actual filter.
Are your 2 date fields called BatchDate and SelectionDate?
The value of the parameter in your calculated field has to match the values in your first control. If the first control contains BatchDate and SelectionDate, your calculated field should say:
ifelse(${TEST}=“BatchDate”,BatchDate,${TEST}=“SelectionDate”,SelectionDate,null)
Then you need a second control to apply a filter on that calculated field.
The first control is to allow you to set the value of the parameter and choose between BatchDate and SelectionDate. The second control is to allow you to select the date.
By considering one more field, the field name as “Audit complete date”. If I want this field in drop down along with the existing 2 fields. Is it works? if I use the same concept. Could you please confirm. Thank you!