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

How to restrict last 12 months from current date


SAP BO 4.2 Service pack 2.

Tool: Information design tool

Back end : Oracle 10g

i have date object i need to restrict data in that object for last 12 months from current date. it should be sequence order.

i want like below format:

Aug-15 Sep-15 Oct-15 Nov-15 Dec-15 Jan-16 Feb-16 Mar-16 Apr-16 May-16 Jun-16 Jul-16 Aug-16

please reply anyone have idea.

Note: i want create above requirement object in Information design tool not in webi

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Aug 17, 2016 at 10:35 AM

    try this.Create predefined filter in the universe.

    Table.Col1 BETWEEN add_months(sysdate,-12) and sysdate

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Amit,

      i used below formula data is coming fine but sequence is not coming properly:

      @Select(Custom Dimensions\DateCalculations\Day Wid Date)>=(@Select(Custom Dimensions\DateCalculations\Last12months startdate)-1) and @Select(Custom Dimensions\DateCalculations\Day Wid Date)<=@Select(Custom Dimensions\DateCalculations\Current date)

      i am able to get last 12 months like as shown in above post but it is not coming is sequence and i need date object with 12 months

      below is the sequence i am getting















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.