Expand my Community achievements bar.

Join us for the next Community Q&A Coffee Break on Tuesday April 23, 2024 with Eric Matisoff, Principal Evangelist, Analytics & Data Science, who will join us to discuss all the big news and announcements from Summit 2024!
SOLVED

Condition based field

Avatar

Level 6

We used an eVar1 to track a data and we have another eVar2 to track the similar data with another eVar.  Right now, we would like to create a calculated field which has the logic:

if( eVar2 )  = eVar2

else = eVar1

I noticed that calculated Metrics only can be used for numeric fields. Anyone know how to do this?

Thanks.

1 Accepted Solution

Avatar

Correct answer by
Level 10

It is possible to create an advanced calculated (derived) metric. Use the If function for building that condition.
If the segments are not available for you, this may be because of the license.

See for reference – Calculated and Advanced Calculated (Derived) Metrics

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

It is possible to create an advanced calculated (derived) metric. Use the If function for building that condition.
If the segments are not available for you, this may be because of the license.

See for reference – Calculated and Advanced Calculated (Derived) Metrics