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

## Create segment from eVar values delimited by ":"

Level 5

Hi Team,

Is there a way to extract vegetables from v10 = "fruits:vegetables:gram" in the calculated metrics?

Note: before & after vegetables, we can have other values along with fruits & gram.

I have an eVar to capture the multiples values delimited by ":" for insance v10 = "fruits:vegetables:grams".  I want to create a segment of fruits, vegetables, & grams and want to use as metrics.

Note: I have a classification rule builder on same v10.

v10 classified as:

Apple

Spinach

Dal

classification rule builder on v10:"fruits:vegetables:Grams"

On report

V10(Dimension)    Metrics

Apple                     Fruits

Spinach                 Vegetables

Dal                         Grams

My need is to create a segment on metrics to group fruits, vegetables as separate metric. Any help will be appreciated

1 Accepted Solution

You can use classification of the evar to create segment. However, I do not understand how you will use them as metrics. Can you elaborate?

7 Replies

You can use classification of the evar to create segment. However, I do not understand how you will use them as metrics. Can you elaborate?

Level 5

Definitely sounds like something that classification rule builder would work well for. I am also unsure about the "metrics" part. He should be able to use most metrics with the classifications, but "grams" won't be treated as a number.

Level 5

v10 classified as:

Apple

Spinach

Dal

c

classification rule builder on v10:"fruits:vegetables:Grams"

On report

V10(Dimension)    Metrics

Apple                     Fruits

Spinach                 Vegetables

Dal                         Grams

My need is to create a segment on metrics to group fruits, vegetables as separate metric. Any help will be appreciated

Level 5

We can use segment as metrics if event breakdown by segments, & we can use in the calculated metrics, pls see below SS.