How do I return the current date automatically in a CA Business Intelligence (CABI) report filter?

Document ID : KB000050428
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

This document outlines the steps required to create a filter in CABI to return the current date.

Solution:

A new Object using the function PdmToday() needs to be created and specified as a Query Filter in a report.

  1. Create a new Object in the Universe Designer as per below.

    Figure 1

  2. Type "pdmToday()" in Select field and select "Date" as Type, and click OK.

    Figure 2

  3. Save the change and export the Universe to make the changes available for universe users. Select 'File' > 'Export' from the Universe Designer menu.

    Figure 3

  4. From Infoview, create a new Web Intelligence Document and add "Open Date" as a Query Filter.

    Figure 4

  5. Specify the Filter as per below.

  6. Open Date

  7. Between

  8. Start Date: Prompt

    Figure 5

  9. End Date: Object

    Figure 6

    When you select "Object", the following screen appears. Select the "pdmToday()" Object created in step #1.

    Figure 7

    The filter for "Open Date" would look like:

    Figure 8