Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Last X Days not accepting values other than predefined(e.g 7,30)



When defining the date filtering value for 'Last X Days' in a report  definition, an error displays for any value other than the predefined periods (for example, last 8 days, last 31 days).

Error Messages

Filter Value - ** An invalid comparison value or an invalid column has been entered for the right-hand side of a filter condition. Enter a valid column, calculation, or literal value.

Steps to Reproduce

  1. Create a report definition
  2. Add a DateTime column.
  3. Use the Last X Days function.
  4. Enter any value other than 7, 30, 60, etc.

Root Cause

A defect in Pegasystems’ code or rules.

The Last X Days and Next X Days options were introduced erroneously after creating pySymbolName.Next X Days or pySymbolName.Last X Days for the supporting template grid filtering options.

In the pzdisplayTimePeriod control, all field values in the 'Embed-ReportingPeriod' class name with pySymbolName Field Name are returend.


Apply HFix-47060.

After installing the hotfix, Last X Days and Next X Days options are not listed as options for selection.


Published September 20, 2018 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us