Condition based field | Community
Skip to main content
cathyw49544988
Level 5
October 11, 2017
Solved

Condition based field

  • October 11, 2017
  • 1 reply
  • 1717 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Andrey_Osadchuk

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

1 reply

Andrey_Osadchuk
Andrey_OsadchukAccepted solution
Level 10
October 16, 2017

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