For more information, please refer to this announcement explaining best practices for getting answers to questions.
as of date birthday
Summary:
Hello,
Please assist on the following...
We were able to calculate person ‘Age’ based on presentation variable @{asofdate} for the Headcount page on LM dashboard as some point.
TIMESTAMPDIFF (SQL_TSI_YEAR, "Worker"."Employee Date Of Birth", @{asofdate}{CURRENT_DATE})
where the @{asofdate} presentation variable was assigned based on:
Server variable: CURRENT_DATE_REP_OTBI; presentation variable: asofdate (Calendar Prompt in Headcount page – LM dashboard).
The @{asofdate} parameter stopped working, e.g. return 0.
What will be another option to calculate the ‘Age’ based on ‘Calendar Prompt’ presentation variable or maybe something is missing in that formula?
v. 24a
Thank you.