You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

When using the Timestampdiff result is attribute- How to turn into metric?

Received Response
edited Sep 11, 2019 5:22AM in Oracle Analytics 3 comments


The result of a calculation in DV with TImestampdiff the result is an Attribute. Can't be swiched to Measure.


When creating a calculation to calculate e.g. the current age of a person by using:

TIMESTAMPDIFF(SQL_TSI_YEAR, XSA('weblogic'.'Workforce Management - Worker Assignment Real Time')."Columns"."Person Date of Birth", CURRENT_DATE)

the result is marked as Attribute. When using the 'treat as' the symbol to the calculation is not changing from A to #. The problem then is when you want to drag the calculated item into the '# Values' section of a visualization it is not allowed.


Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!