cancel
Showing results for 
Search instead for 
Did you mean: 

How to create custom date column in webi ?

Former Member
0 Kudos

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 !

Accepted Solutions (1)

Accepted Solutions (1)

Former Member

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,

Answers (1)

Answers (1)

Former Member
0 Kudos

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!

Former Member
0 Kudos

hi Komarina,

   Actually my question was how to create a dynamic variable to display the dates after 15, 30,45...etc days from the current  date in a row/column.


Cheers!

former_member213977
Participant
0 Kudos

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