Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Condition based field

cathyw49544988
Level 6
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
Andrey_Osadchuk
Correct answer by
Community Advisor
Community Advisor

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
Andrey_Osadchuk
Correct answer by
Community Advisor
Community Advisor

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