Oracle Analytics Cloud and Server

Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture

Date arithmetic in a Data Flow

Received Response
11
Views
1
Comments

Summary

The functions available in the Data Flow tool do not provide arithmetic capabilities on dates.

Content

Hello, I uploaded a data set to the OAC, which includes a date field. I want to add a new date field which is 1 month later then the existing date column, resulting in a date range for each row. The Data Flow tool does not appear to offer date arithmetic functions. I tried add_months(<date>,1) but received an "invalid expression" error message. I am new to OAC, and searched the community, documentation and the Internet but could not find any answers. How can I perform this arithmetic in a data flow? 

Answers

  • Rank 5 - Community Champion

    Hi James- I believe what you're looking for is the TimestampAdd function under the Calendar/Date options in Data Flows. You should be able to specify things at the specific grain you want (day, month, etc.). Good luck!

    Tim Vlamis

    tvlamis@vlamis.com 

Welcome!

It looks like you're new here. Sign in or register to get started.