To create a prompt that places the maximum date value from a warehouse table as the most current date answer, execute the following steps:
- Create a filter that is an attribute qualification.
- Choose the date attribute that is desired.
- Qualify on "ID".
- Set the operator to "Between".
- The first date will be the static date that is desired.
- In the second date field, set the drop down box to "Custom".
- In the date field, type in the ApplySimple statement: ApplySimple("(select max(column_name) from warehouse_table)",0) where column_name is the name of the date column and warehouse_table is the name of the table that is being used.