Hi, I want to create a column showing the day cohort when an event happened.
here's a table with all the events I gather from my database:
the 'Nome' column specifies which event happened, the other columns sayy the corresponding day, hour, player involved, date the player registered, etc.
I already have a cohort analysis in a column wich simply works with this:
Dias Cohort = DATEDIFF('Eventos Master'[Data Cadastro],'Eventos Master'[Data],DAY)
But I want one that has the following conditioners:
1. Only count days in which there were purchases
2. Start counting the days the date the player registered (Date created column)
3. only increment once a day (for obvious reasons)
4. cover all actions untill today, or the last action the player made(I have this value in another table)
Can someone help here?
Thanks