Hi
I trying to create a data set which is distinct count of customers over a rolling 12 month period, which increments by a month but don't really know where to start so any help would be greatly appreciated. What my desired output would look something like the table below. Have attached a example input data set
| Start Period | end period | distinct count |
| May 2018 | Apr 2019 | 33 |
| Jun 2018 | May 2019 | 31 |
| Jul 2018 | Jun 2019 | 32 |