Solved

PROPSUM on Array

  • 21 July 2023
  • 1 reply
  • 84 views

Hi, 

 

how dows propsum work on arrays? I have an array of numbers in an event property, and I want to summ them all up, across the events and across the array. Is this how it would behave or would it just sum the first element or the number of elements?

icon

Best answer by Saish Redkar 21 July 2023, 17:31

View original

1 reply

Userlevel 7
Badge +10

Hi @kornelius 

It will add the individual elements from the array property captured across all the events for that day or time period.

e.g let’s say Event A with array = [ 1,2,3 ] is triggered 3 times on July 10th ( keeping the array values same for simplicity)

PROPSUM for July 10th should give you the [sum of array] x 3 i.e. 18

Hope this helps.

Reply