Skip to main content
Solved

Is there a way to get user property sums?

  • July 15, 2021
  • 1 reply
  • 944 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.

Best answer by Saish Redkar

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
Did this topic help you find an answer to your question?

1 reply

Saish Redkar
Expert
Forum|alt.badge.img+10
  • Expert
  • 1378 replies
  • Answer
  • July 15, 2021

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings