Hi.
We're trying to make an Insights report to know "How many times Event A" is performed for every "Event B". And we want this broken down by property X which is only available for Event A.
Note that Event B happens before Event A.
Example
How many times do users "Filter Items" (Event A) per time they "List Items" and what "filter category" (property 😵 are they using?
So if we have a bunch of events for one user:
{ name: "List Items" }
{ name: "Filter Items", properties: { "Filter Category": "Size", "Filter Value": "Large" } }
{ name: "Filter Items", properties: { "Filter Category": "Color", "Filter Value": "Blue" } }
{ name: "Filter Items", properties: { "Filter Category": "Color", "Filter Value": "Red" } }
We'd like to the report to tell us that the user did "Filter Items by Color" two times per "List Items" event.
And that the user did "Filter Items by Size" one time per "List Items" event.
And, of course, we'd want this as a median or average across all users.
Result / In Mixpanel
So our attempt to do the above in Mixpanel goes:
(A) SHOW TOTAL "Filter Items"
and
(B) SHOW TOTAL "List Items"
by
"Filter Category"
in the
Last 30 days
Then we apply the formula A/B
But this results in 0 for each value of "Filter Category" in the breakdown.
Our guess is that this is due to "List Items" not having property "Filter Category".
Solution
I am not 100% sure there is a solution. So I am not going to suggest one.
But on request, I believe I can provide a JQL (or SQL) query to illustrate what we'd like to see in Insights.
I hope the above makes sense. We've seen this limitation bite us a few times already so perhaps it is us not understanding Insights fully, or there is room for valuable improvement.