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

Most recent date paid

Summary:

I have an OTBI report that runs every other Thursday pulling earnings. The Effective Date field uses the below advanced SQL filter to pull only the current date paid (Thursday) which works great. However, if it is a holiday week and employees are paid earlier in the week, using this SQL will return no data when it runs on Thursday.

Is there a way to modify this SQL to pick up the most recent Effective Date instead?

"Balance Value Details"."Effective Date" = (timestampadd(SQL_TSI_DAY,0,CURRENT_DATE))


Thanks Experts!

Content (please ensure you mask any confidential information):


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

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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