I try to get the total hours for a Employee
My Report should look like:
GROUP "Month" | Details
Month | WorkHoursMonth | section | Hours STATIC
---------------------------------------- --------------
| | A1 | 12
1 | 50 | B3 | 38
----------------------------------------
| | A1 | 12
2 | 50 | B3 | 38
---------------------------------------- GROUP "Month"
| | A1 | 12
3 | 62 | B3 | 38
| | C1 | 12
----------------------------------------
4 | 38 | B3 | 38
---------------------------------------- --------------
Total | 200 STATIC Total
I tryed to use SUM() like SUM(Field.WorkHoursMonth.Value,"Month").
but i get an ERROR
Fehler 1 Der Value-Ausdruck für das Textfeld-Objekt 'SollStunden1' weist einen Bereichsparameter auf, der für eine Aggregatfunktion ungültig ist. Der Bereichsparameter muss auf eine Zeichenfolgenkonstante festgelegt sein, die einem der folgenden Werte entspricht: dem Namen einer enthaltenden Gruppe, dem Namen eines enthaltenden Datenbereichs oder dem Namen eines Datasets.
Update 1
The problem is my current Total is 424 instead of 200 but i don't know how to make a total at the end for the group which based on the error has to be inside the group.
GROUP "Month" | Details
Month | WorkHoursMonth | section | Hours STATIC
---------------------------------------- --------------
| | A1 | 12
1 | 50 | B3 | 38
----------------------------------------
| | A1 | 12
2 | 50 | B3 | 38
---------------------------------------- GROUP "Month"
| | A1 | 12
3 | 62 | B3 | 38
| | C1 | 12
----------------------------------------
4 | 38 | B3 | 38
---------------------------------------- --------------
Total | 424 STATIC Total
