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

OTBI Data as of yesterday

Summary:

Hi there, I am trying to use the historical reporting capability of OTBI by inputting the logical SQL prefix of SET VARIABLE PARAM_EFFECTIVE_DATE='xxxx-xx-xx';

I would like for it to always pull data from "yesterday" Or current_date -1. However, I'm not sure how to modify this piece of code to do so. Would you be able to assist? @Julian Challenger-Oracle

I did try using SET VARIABLE PARAM_EFFECTIVE_DATE='current_date-1'; but the query errors out.

Thank you,

Ruby

Content (please ensure you mask any confidential information):


Version (include the version you are using, if applicable):

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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