Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello all,
is it possible to display subtotals for calculated dimension in a pivot table.
Or is there any other solution with straight table to achive this outcome.
For calculated dimension Betrag_Abgrenzung, Betrag Bilanzbuchung, Differenz and Veränderung should the subtotals be displayed.
Thanks for your answer
I managed to get the right output with the following LOAD.
Ueberleitung: LOAD ... Num#(BETRAG_ABGRENZUNG,'#.###,##') as BETRAG_ABGRENZUNG, Num#(BETRAG_BILANZBUCHUNG,'#.###,##') as BETRAG_BILANZBUCHUNG, Num#(DIFFERENZ,'#.###,##') as DIFFERENZ, Num#(VERAENDERUNG_DIFFERENZ,'#.###,##') as VERAENDERUNG_DIFFERENZ; SQL Select....; Concatenate(Ueberleitung) UeSummen: LOAD ... SUM(Distinct BETRAG_ABGRENZUNG) as BETRAG_ABGRENZUNG, SUM(Distinct BETRAG_BILANZBUCHUNG) as BETRAG_BILANZBUCHUNG, SUM(Distinct DIFFERENZ) as DIFFERENZ, SUM(Distinct VERAENDERUNG_DIFFERENZ) as VERAENDERUNG_DIFFERENZ Resident Ueberleitung Group by LAND, FCO, STICHTAG, UK;
Hello,
I think you are using complex Expression here. That should be the reason why there is no subtotal.
i would recommend to wrap an sum(aggr(Your_Expression, your_Dimension)) around it.
regards
tim
@gf Perhaps this?
SUM(AGGR(NUM(Sum(BETRAG_ABGRENZUNG),'##.###,##'),UK,SK,SUBKATEGORIE,ZE,ZNR,KOST,BK,KOA,J,N,U,SV_ID,C,T,AEK,K,X,M,BETRAG_ABGRENZUNG))
Since it is calc. dimension - Sum() never work. Perhaps this?
AGGR(NUM(Sum(BETRAG_ABGRENZUNG),'##.###,##'),UK,SK,SUBKATEGORIE,ZE,ZNR,KOST,BK,KOA,J,N,U,SV_ID,C,T,AEK,K,X,M,BETRAG_ABGRENZUNG)
May you have a look at my sample data.