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

WEBI - Cross Tab - rolling 12 months

= - datatype numeric

= - datatype numeric

In my webi report I want to fetch profit for for rolling 12 months show in cross tab for each year/month.

How do I fetch rolling 12 months

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Jul 27, 2016 at 08:24 AM

    You have couple of options! What you can do is create a filter at the universe level with the below code, which will serve the purpose:

    "Database date field" > add_months(trunc(sysdate),-12)


    at the webi report create a filter variable:

    [filter]=if([Date]>Relativedate(Currentdate();-365)) then "Show" else hide

    Set the variable to "Show"

    P.S: Creating the filter at universe level is a best practice.

    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.