Symptom
While creating a story report in the Query Builder page, stories with “CURRENTDATE()” function in calculated columns displays empty data in the widgets for that calculated column.
Environment
- SuccessFactors HXM Suite
- Analytics & Reporting (Ad Hoc, YouCalc, ORD)
- Story reports
- Query Designer - Filter, Calculated Column, Params
- Story reports
- Analytics & Reporting (Ad Hoc, YouCalc, ORD)
Reproducing the Issue
- Login to the instance
- Navigate to Reporting
- Click the New > select Story
- create a story report with columns having date field
- Now try to add calculated column and use CURRENTDATE() function.
- CURRENTDATE() do not work as expected (eg: Compare any Date field added in the query to currentDate, data will not be fetched as expected, since CURRENTDATE() function does not work at the moment.)
Cause
There is a Datatype mismatch in the backend.
Resolution
This issue has been fixed by SAC Product Engineering.
To fix this issue, please follow the following steps:
- Open the story having the CURRENTDATE() function in the calculated columns.
- Go to Edit Mode, under Data tab, select Edit Data source option and go to the query builder page.
- In the Query Builder page, click on finish to update the data model.
- The widgets in Story page are now displaying proper data.
Keywords
CURRENTDATE, CURRENTDATE(), Date, calculated column, date function, Stories, Story , KBA , LOD-ANA-OEM , Embedded usage of SAP Analytics Cloud , LOD-SF-ANA-SAC , Stories in People Analytics , LOD-SF-ANA-SAC-QDS , Query Designer - Filter, Calculated Column, Params , Problem
Product
SAP SuccessFactors HXM Suite 2205 ; SAP SuccessFactors Platform 2511
SAP Knowledge Base Article - Public