thanks Andrew S. - max ( ) function is limited to determining max of two numbers. not that useful. unfortunately, the user_profile properties doesn't work, being a saas, we have workspaces and users, a user can be part of multiple workspaces and workspaces can have multiple users. we create one user profile for each user (unique email). user's activity (events in mixpanel) is tracked in the workspace context. so, for example, a user can be paid subscriber for workspace A, free plan in workspace B, and in trial for workspace C. [Very similar to slack). Every event maintains workspace_id that let us analyze user's activity in the context of a workspace via group key etc.