Expand|Select|Wrap|Line Numbers
- SID Date Status
- 1 25/8/2017 P
- 1 26/8/2017 P
- 1 27/8/2017 A
- 2 25/8/2017 A
- 2 26/8/2017 P
- 2 27/8/2017 A
- 1 01/9/2017 P
- 1 02/9/2017 A
- 1 03/9/2017 A
- 2 01/9/2017 P
- 2 02/9/2017 A
- 2 03/9/2017 P
- ......................
- ......................
- 1 01/10/2017 P
- 1 02/10/2017 A
- 1 03/10/2017 A
- 2 01/10/2017 P
- 2 02/10/2017 A
- 2 03/10/2017 P
The result required is:
Expand|Select|Wrap|Line Numbers
- SID Status Month CountThisMonth TotalCountPrevious
- 1 P 8/2017 2 0
- 1 A 8/2017 1 0
- 2 P 8/2017 1 0
- 2 A 8/2017 2 0
- 1 P 9/2017 1 2
- 1 A 9/2017 2 1
- 2 P 9/2017 2 1
- 2 P 9/2017 1 2
- .............................................
- .............................................
- 1 P 10/2017 1 3
- 1 A 10/2017 2 3
- 2 P 10/2017 2 3
- 2 P 10/2017 1 3
So I request for help. Thanking in advance....