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

How to create custom date column in webi ?

Hi

I needed to count the number of computers to be installed in the next 15,30,45,60..... days.

I have installation date and computer name ( from which I can count depending on the date)

But how do we create a crosstab to show it in a manner like below

(currentdate +15) (currentdate +30) (currentdate +45) (currentdate +60)

Dell 2 4 5 4

Hp 4 43 3 2

etc

I am wondering how to create the column ((currentdate +15) (currentdate +30) (currentdate +45) (currentdate +60)) as a variable in webi report.

Cheers !

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 18, 2013 at 09:10 PM

    Hi Josh,

    You can utilize the Relative Date Function in Webi to get the date you need as shown below this is when you want to calculate it at the report level you can also get the same result by creating objects in Universe and utilizing database functions.

    Hope this Helps,


    Relative.JPG (22.3 kB)
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 18, 2013 at 08:08 PM

    Josh,

    Add a new column to the report, create a formula for total no.of computers as column2 + column3 + column4 + column5.

    This would sum up all the 4 columns and display the total value.

    Thanks!

    Add a comment
    10|10000 characters needed characters exceeded

    • Josh,

      On the universe side you could create an object with a simple "getdate() +15" or "getdate() -15". We have generic dates setup so that it will basically generic dates with that statement.

      Basically the getdate() will pull the date from your system and add XX days to it showing that in the webi report.

      Hope that helps!

      Tiff

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.