Hello!
I have a data set that contains the Ids of my customers and their registration's date, besides the date each one made their first purchase (if they did it, meaning there are null values on this column):

I wanted to group them by the year and month of registration (Example: all customers registered on January/2019) and make a cumulative count of how many months it took for the first purchase, starting from their registration month until now. So if a customer that registered on January/2019 made his first purchase on February/2019, I want to count him from this month forward.
The objective is to compare if the recent customers are taking longer to start buying.
I imagine that the final data set would be somethin like this:

My final objective is to make a graphic comparing the % of each batch, similar to the example below:

Anyone knows how I could develop a data set in these conditions?
Sorry if my question is not clear enough, and I am available to give more details if necessary.
Thanks!