Register today for Oracle CloudWorld. October 17th - 20th, Las Vegas

Register now

Hillel Cooperman, Senior VP of User Experience Design, has a message for you on Oracle CloudWorld

Watch now
How to CAST Char to Date — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to CAST Char to Date

Received Response
22
Views
4
Comments
edited Jan 5, 2021 12:18PM in Reporting and Analytics for HCM 4 comments

Summary

CAST Presentation Variable of Text to Date Prompt in Formula

Content

Age Band on Line Manager Dashboard is based on CURRENT_DATE rather it should based on Dashboard Date Prompt

Current Formula:

IFNULL(FILTER("Worker Assignment"."Head Count" USING ((TIMESTAMPDIFF(SQL_TSI_YEAR, "Worker"."Employee Date Of Birth", CURRENT_DATE) ) < 26)), 0)

Presentation Variable as Prompt:

Name: AsOfDate

User Input: Text Field

Default Selection: Server Variable(CURRENT_DATE_REP_OTBI)

Tried to modify formula to derive age band based on the above prompt but it is throwing error.

Modified Formula:

IFNULL(FILTER("Worker Assignment"."Head Count" USING ((TIMESTAMPDIFF(SQL_TSI_YEAR, "Worker"."Employee Date Of Birth", @{AsOfDate}) ) < 26)), 0)

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!