Let's Reconnect, thank you for making 2022 our best year yet.

Look Back
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
30
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!