Dashboard prompt with dates in V3
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