Skip to main content
Solved

Aggregate event properties

  • January 24, 2022
  • 2 replies
  • 875 views

Hi, I wanted to know if I can get the average or sum of an event property for some users.
For example, if the event playSong has a property songDuration, i want to know the average song duration for a group of users.

Thank you!

Best answer by Saish Redkar

Hey @ncoen 
You can utilize the custom formulas feature to apply the desired formulas on your event properties in an Event segmentation chart.

Here is an example chart which visualizes the average song duration for the AmpliTunes demo environment using the PROPAVG formula - https://analytics.amplitude.com/demo/chart/new/wpg7xkm

 

You can also compute the property average using the Properties option in the Event Segmentation chart

 

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?

2 replies

Saish Redkar
Expert
Forum|alt.badge.img+10
  • Expert
  • 1377 replies
  • Answer
  • January 24, 2022

Hey @ncoen 
You can utilize the custom formulas feature to apply the desired formulas on your event properties in an Event segmentation chart.

Here is an example chart which visualizes the average song duration for the AmpliTunes demo environment using the PROPAVG formula - https://analytics.amplitude.com/demo/chart/new/wpg7xkm

 

You can also compute the property average using the Properties option in the Event Segmentation chart

 

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


Denis Holmes
Team Member
Forum|alt.badge.img+8
  • Team Member
  • 448 replies
  • January 25, 2022

Hi @ncoen ,

 

Glad to see this was solved by our power user @Saish Redkar ! Thank you, Saish! Your hard and tireless work is really appreciated! :)  

 

Kind Regards,
Denis


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