Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 217157

Cohort analysis conditioned by purchase events

$
0
0

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:


eventos master.jpg

 

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:

  

cohort days.jpg

  

 

 

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

 


Viewing all articles
Browse latest Browse all 217157

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>