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

YTD Evaluate Code for Dashboard Prompt

Accepted answer
36
Views
7
Comments
edited Mar 7, 2017 8:12AM in Reporting and Analytics Taleo Enterprise 7 comments

Summary

Dashboard Prompt YTD defaults

Content

Hi, I am working on a Dashboard prompt to default to YTD to filter all results on the dashboard.

 

I have used a previously created prompt that has a SQL code for rolling 12 months as default but unsure what to change in the code for the values to default Year to Date instead of rolling 12 months.

 

Here is the current SQL code:

SELECT
   EVALUATE('TO_CHAR(%1,%2)' AS CHARACTER, "Submission Dates"."Hired Date" ,'YYYY-MM')
FROM "Recruiting"
WHERE
EVALUATE('TO_CHAR(%1,%2)' AS CHARACTER, "Submission Dates"."Hired Date" ,'YYYY-MM')
BETWEEN EVALUATE('TO_CHAR(ADD_MONTHS(%1,-11),%2)' AS CHAR,CURRENT_DATE,'YYYY-MM') AND

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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