Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
Is the condition that in order to count, the customer must have been active for ALL of the currently selected months? If so, you could try the following expression:
count(if(aggr(count(distinct month), customer) = '$(=count(distinct month))', customer))
where month and customer are your fields in the app.
Thanks
Ben
Hi,
Is the condition that in order to count, the customer must have been active for ALL of the currently selected months? If so, you could try the following expression:
count(if(aggr(count(distinct month), customer) = '$(=count(distinct month))', customer))
where month and customer are your fields in the app.
Thanks
Ben
Hi Ben,
Thanks for your reply. It provides the correct count of users now.
If I want to include a Product dimension inside this logic, for example, I want to see the number of active user for the continuous months broken down by product?
I appreciate your time.
Thanks,
Dhamodharan.
Hi Dhamodharan,
You should be able to use Product as a dimension in a chart (table or bar chart most likely) and then use the expression above as the measure to see the breakdown
Does that work?
Ben
Hi Ben,
The below code works for adding product dimension.
=count(if(aggr(count(distinct month), customer,product) = '$(=count(distinct month))', customer))
Thanks for your time. Much appreciated.
Thanks,
Dhamodharan.