Oracle Analytics Cloud and Server

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

Converting to Date in Oracle DV Data Editor (Missing Documentation?)

Accepted answer
491
Views
19
Comments
Rank 2 - Community Beginner

Hi all,

I'm looking for help converting a column to date from text, I tried looking at posts and the following documentation that appears to be missing a step behind converting to date.

Site faviconVisualizing Data and Building Reports in Oracle Analytics Cloud

Context:

  • Data is a Csv file loaded into OAC DV
  • The following transformations are being done in the data editor that prompts when loading a dataset

Problem:

The column "LAST_UPDATE_DATE" is reading date data in a text format. I am performing the following steps to attempt to convert this to a date form:

  • Click the three dots at the column header
  • Click "Convert to Date"
  • The following Wizard appears:

I can't find any Oracle documentation on this wizard or how to use it. The output I'm trying to achieve is the following format:

  • 6/7/2022 5:34:01 AM

Inputting the following leads to errors

At this point I'll settle for just having a short date (e.g. "6/7/22") but I can't seem to figure this out either.

Can anyone help?

Welcome!

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

Best Answer

  • edited Apr 16, 2024 10:41PM Answer ✓

    Ok, I had to give it a try to find out what was going on.

    I call it a bug: the function exists, the formula is valid, but still it doesn't work.

    The workaround is to use a TIMESTAMP instead of a date:

    TIMESTAMPADD(SQL_TSI_DAY, "LAST_UPDATE_DATE", TIMESTAMP '1900-01-01 00:00:00')
    

    If you are motivated to raise an SR to report the bug when entering the version with DATE '1900-01-01' feel free to do it :D

«1

Answers

Welcome!

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