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

Custom props/evars - Set data type to number

Avatar

Level 1

I have a custom prop and eVar that passes a number.  I want to be able to filter on this number - eg, prop greater than XXXX and less than XXXX.  But it's being read as text, not a number.  Is there any way to set the data type of a custom prop/eVar?

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi Jamie,

Welcome to the Analytics Community!

Props are basically counters and eVars can be used as a character string or counter. If you want to store a number in a variable and filter the data later you can make use of an eVar. Create a segment with the logic you want and apply it on the report. That should give you the desired result.

Hope this helps.

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

Hi Jamie,

Welcome to the Analytics Community!

Props are basically counters and eVars can be used as a character string or counter. If you want to store a number in a variable and filter the data later you can make use of an eVar. Create a segment with the logic you want and apply it on the report. That should give you the desired result.

Hope this helps.