Hi,
I want to know if I can collapse dates?
Input
| MEMBER | COVERAGE PERIOD |
| | |
| M1 | 5/1/2015 |
| M1 | 6/1/2015 |
| M1 | 7/1/2015 |
| M1 | 8/1/2015 |
| M1 | 9/1/2015 |
| M1 | 10/1/2015 |
| M1 | 11/1/2015 |
| M1 | 3/1/2016 |
Output
| MEMBER | START SERVICE | STOP SERVICE |
| M1 | 5/1/2015 | 12/1/2015 |
| M1 | 3/1/2016 | 4/1/2016 |
I don't want to use the Min and Max as it will not give the break downs in the periods. Can the above output be achieved?