I have a data set that includes customer id, sign up date and cancel date. I want to create a table that shows active customers at the 1st of every month for the past 12 months.
I have tried using this Stack Overflow question but couldn't work it out.
It would be great if the table had a 'month' column and a column for number of active customers.
Any help welcome, please.