CRM On Demand - Reports and Dashboards (MOSC)

MOSC Banner

Dashboard prompt with dates in V3

edited Nov 10, 2018 5:50AM in CRM On Demand - Reports and Dashboards (MOSC) 17 commentsAnswered ✓

Hello!

I'm trying to set in a dashboard prompt a filter between dates that by default appear already populated with the dates of today and today - 7 days respectively. I have achieved the goal of populate today's date using the server variable NQ_SESSION.CURRENT_DT, but how can I calculate 7 days before to populate the other field? I've tried some things like (NQ_SESSION.CURRENT_DT - 7) or TIMESTAMPADD(SQL_TSI_DAY, -7, VALUEOF(NQ_SESSION.CURRENT_DT)) but doesn't work.

Thanks for your help!

Sebastián García

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center