Skip to Content
author's profile photo Former Member
Former Member

how to get current_date -30 as an object in universe design

Hi All,

I have got a requirement to get an object to display current_date-30 in universe design, so that I can use it in webi report to set it as a filter. Can someone tell me how to create that .

Thanks,

Yaswanth.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Jul 26, 2016 at 05:30 PM

    what is your backend database?are you using IDT or universe designer tool?

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 27, 2016 at 04:31 AM

    Hi,

    DatabaseFunction or TokenDB2current dateOraclesysdateInformixTODAYMySQLCURDATE()SQL Servergetdate()Sybasegetdate()TeradataDATE

    Please use the appropriate Token against the Database you are using in your Designer

    and create an object as Trunc(sysdate-30) for e.g. if you are using Oracle.

    for more details please refer to Dave’s Adventures in Business Intelligence » Dynamic Dates Part I: Yesterday and Today

    Regards

    Niraj

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.