Principale utente con più risposte
Subtotali gruppi annidati Reporting Services

Domanda
-
Ciao,
ho qualche problema con gruppi annidati in reporting services. Ho creato una matrice che ha 2 gruppi in colonna e due gruppi in riga,come sotto:
http://i58.tinypic.com/2edw7j4.png
Nelle colonne di Percentuale (%) devo inserire la divisione tra il totale corrente (banale somma) ed il subtotale di "action reason", all'interno dei due gruppo in colonna.
Se provo ad utilizzare come Scope "Action Reason" mi da il totalone in fondo a destra, se provo con "Gender" anche qui mi da il totalone in fondo a destra.Provando con "Org_Unit_Level_1" mi da il totalone di colonna (riga gialla), stessa cosa per "HR_Career_Level_Group".Pare non si possa fare il totale di due gruppi...ma solo di un gruppo singolo, servirebbe tipo un doppio Scope, tipo SUM(YTD, "Action Reason", "Org_Unit_Level_1"). Quindi recuperare in cella D:4 (per dirlo a modi excel..) il subtotale presente in C:5, per fare la percentuale del valore in C:4
Ci sono modi alternativi per farlo?
grazie.
Risposte
-
prova a vedere se il link qui sotto risponde alle tue esigenze
https://www.mssqltips.com/sqlservertip/2587/cumulative-aggregates-in-sql-server-reporting-services/
Edoardo Benussi
Microsoft MVP - Directory Services
edo[at]mvps[dot]org- Contrassegnato come risposta Paola PresuttoMicrosoft employee giovedì 19 maggio 2016 08:15
Tutte le risposte
-
Transalted in english...
i have some troubles with nested groups in Reporting Services. I have created a matrix with 2 column groups and 2 rows groups, like this:
http://i58.tinypic.com/2edw7j4.png
In Percentage columns i need to divide current total with "Action Reason" subtotal, in the actual Org_Unit and HR_Carer_Level scope.
Using the Scope "Action Reason" or "Gender" in sum i get the column grand total, using "Org_Unit_Level_1" or "HR_Career_Level_Group" i get the row grand total.
It seems that is not possible to get the subtotal inside two groups but only for a single group, The solution would be a double Scope for sum function.
To explain correctly, i need to get in D:4 cell the subtotal in C:5 to dived with current value in C:4.
There are any way to do this??
thanks.
-
prova a vedere se il link qui sotto risponde alle tue esigenze
https://www.mssqltips.com/sqlservertip/2587/cumulative-aggregates-in-sql-server-reporting-services/
Edoardo Benussi
Microsoft MVP - Directory Services
edo[at]mvps[dot]org- Contrassegnato come risposta Paola PresuttoMicrosoft employee giovedì 19 maggio 2016 08:15