Custom props/evars - Set data type to number

Avatar

Avatar

jamien79830838

Avatar

jamien79830838

jamien79830838

08-12-2016

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?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

TanmayMathur

Community Manager

Total Posts

(val/1000)?string[".0"]}K

Likes

240

Correct Answer

421

Avatar

TanmayMathur

Community Manager

Total Posts

(val/1000)?string[".0"]}K

Likes

240

Correct Answer

421
TanmayMathur
Community Manager

11-12-2016

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.

Answers (0)