Guruprasad Rao
New Member
- Joined
- Sep 27, 2013
- Messages
- 6
Hi,
I am having problems with my report generation, earlier we were using multiple pivots to build a single report, which was time consuming. I have sorted out most of the problems by building a single pivot and using getpivotdata. But one of the few problems I have now is with getting the count of days from the pivot.
Below is the extract from the pivot:
<colgroup><col><col><col><col></colgroup><tbody>
</tbody>
If I use getpivotdata and use "Count of Date" as basis i would get 47, (No of students is not constant this varies from 3 to 12).
I want the resultant to be 11 for Class - 2B - Sc - G1 in my report.
I hope this forum would help me in resolving this problem.
Thanks
G Rao
I am having problems with my report generation, earlier we were using multiple pivots to build a single report, which was time consuming. I have sorted out most of the problems by building a single pivot and using getpivotdata. But one of the few problems I have now is with getting the count of days from the pivot.
Below is the extract from the pivot:
Values | |||
Class | Date | Result | Count of Date |
2B -Sc - G1 | 21/07/2013 | 29.2 | 4 |
22/07/2013 | 23.6 | 4 | |
23/07/2013 | 24.9 | 4 | |
24/07/2013 | 35.2 | 5 | |
25/07/2013 | 27.8 | 4 | |
26/07/2013 | 25.3 | 4 | |
27/07/2013 | 27.4 | 4 | |
28/07/2013 | 32.4 | 5 | |
29/07/2013 | 26.1 | 4 | |
30/07/2013 | 37.7 | 5 | |
31/07/2013 | 28.9 | 4 | |
2B - Sc -G1 Total | 318.5 | 47 |
<colgroup><col><col><col><col></colgroup><tbody>
</tbody>
If I use getpivotdata and use "Count of Date" as basis i would get 47, (No of students is not constant this varies from 3 to 12).
I want the resultant to be 11 for Class - 2B - Sc - G1 in my report.
I hope this forum would help me in resolving this problem.
Thanks
G Rao