Register today for Oracle CloudWorld. October 17th - 20th, Las Vegas

Register now

Hillel Cooperman, Senior VP of User Experience Design, has a message for you on Oracle CloudWorld

Watch now
When using the Timestampdiff result is attribute- How to turn into metric? — Cloud Customer Connect
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
19
Views
3
Comments
edited Sep 11, 2019 5:22AM in Oracle Analytics 3 comments

Summary

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

Content

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.

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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