Solved

Is there a way to get user property sums?

  • 16 July 2021
  • 1 reply
  • 23 views

We need to sum two user properties. Is there a way to get this? I’m guessing the best way would be to get SQL access, but short of that, is there any other way?

 

We’re not looking for event properties, just user properties.

icon

Best answer by Saish Redkar 16 July 2021, 01:45

Hey @artchang,

Depending on how you want to interpret and use the sum, there could be couple of ways I can think of 

  • If you want the total sum of all the values recorded for the given user properties as a metric in a chart over time, then you can try leveraging the PROPSUM() formula by grouping the property1 on “Any Active Event” and property2 on another “Any Active Event”. This is ideally meant for event properties as per the doc but I was able to replicate this on some user properties.
  • If you want to use the sum as a new property in itself, you can try using Derived Properties if you have access to it .These won’t affect your raw data and will be computed on the fly. They are currently in a limited release phase and are only available to select customers. 

 

Let me know if I have interpreted your use case correctly. Hope this helps!

 

View original

1 reply

Userlevel 5
Badge +4

Hey @artchang,

Depending on how you want to interpret and use the sum, there could be couple of ways I can think of 

  • If you want the total sum of all the values recorded for the given user properties as a metric in a chart over time, then you can try leveraging the PROPSUM() formula by grouping the property1 on “Any Active Event” and property2 on another “Any Active Event”. This is ideally meant for event properties as per the doc but I was able to replicate this on some user properties.
  • If you want to use the sum as a new property in itself, you can try using Derived Properties if you have access to it .These won’t affect your raw data and will be computed on the fly. They are currently in a limited release phase and are only available to select customers. 

 

Let me know if I have interpreted your use case correctly. Hope this helps!

 

Reply