Averaging behavior for events with missing parameters

Hello. I see that number type parameter could : count, average, and sum. What would happen if some prior events are missing that number parameter (not 0, but completely missing)?

Example :

Event 1 : A = 20
Event 2 : A = 20
Event 3 : A = 20, B = 20
Event 4 : A = 20, B = 20

In the case of querying average of B, what would it returns?

  • (20+20)/2 = 20
  • (20+20+0+0)/4 = 10

@5argon Once you send events, you generally do not want to change the parameter list. What values are you seeing? If you are seeing unexpected results, you would want to send a new event name, and ensure to not change the parameter list or types. Typically null + 20 = null, but I’m not sure how we would handle missing values, you would want to test. I would expect the results to be consistent.