Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

OBIEE adding an integer to date

Tags:

obiee

I am looking to add a number of days (column 1- integer) to a date (column 2- date) to create another date in the future (column 3- date).

What is the code required?

like image 533
Phil Avatar asked Dec 05 '25 06:12

Phil


1 Answers

Try using this formula for column3

TIMESTAMPADD(SQL_TSI_DAY,CAST("Table"."Column1_int" AS INTEGER), "Table"."Column2_date")
like image 191
Dewanta Avatar answered Dec 12 '25 11:12

Dewanta