Custom props/evars - Set data type to number | Community
Skip to main content
New Participant
December 8, 2016
Solved

Custom props/evars - Set data type to number

  • December 8, 2016
  • 1 reply
  • 786 views

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?

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 TanmayMathur

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.

1 reply

TanmayMathur
TanmayMathurAccepted solution
Employee
December 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.