cancel
Showing results for 
Search instead for 
Did you mean: 

Grouped RunningSum

Former Member
0 Kudos

Dear all,

I would to create a runningsum formula. If I use the formula assistent, I get the runningsum over all articels 1 - 13 "=runningsum(

group1 subgroup1 articel1 50 50

articel2 40 90

articel3 10 100

subgroup2 articel4 30 30

articel5 5 35

group2 subgroup3 articel6 100 100

articel7 20 120

group3 subgroup4 articel8 50 50

articel9 40 90

subgroup5 articel11 50 50

articel13 40 90

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi Markus,

define your variable as

<var_RUNSUM> = runningsum(<UNITS(qry2)>; <GROUP(qry2)>, <SUBGROUP(qry2)>)

Please note the semicolon after the unit variable, but the comma after the group variable.

Best regards

Thomas

Former Member
0 Kudos

Hi Thomas

pls could you desc. this syntax?

I cound't find any docu (without the helpfile-information).

<var_RUNSUM> = runningsum(<UNITS(qry2)>; <GROUP(qry2)>, <SUBGROUP(qry2)>)

Thx

Markus

Former Member
0 Kudos

Seh gerade, daß du aus Deutschland kommst

Ich versuche den runningsum-Befehl zu verstehen.

Hast du sonst irgendeine Doku, wo dieser und vielleicht auch andere Befehle verständlicher beschrieben sind?

Ich darf hier mit BO 6.5. Reports schnitzen, aber bekomme quasi NULL Unterstützung.

Als Büchern etc darf ich mir hier eigentlich alles beschaffen. Nur ich weiss eben nicht, was für Entwerfen von Reports (BI) mit BO sinnvoll ist.

Danke Dir

Markus

0 Kudos

Hallo Markus,

nein, eine spezielle Dokumentation oder Bücher zu BusinessObjects habe ich nicht.

Für die Unterstützung hast du ja jetzt die BO-Foren hier im SAP Community Network.

In der BO-Hilfe habe ich auch nur die einfache Syntax für die Funktion RunningSum/KumulativSumme gefunden. Diese erweiterte Form habe ich über das Internet gefunden und ein wenig ausprobiert.

Ich möchte die Erklärung gern in englisch schreiben, damit auch Nicht-Deutschsprachige User mitlesen können.

Thomas

0 Kudos

Hi Markus,

the BO help for the runningsum function shows indeed only a 'simplified' syntax

=runningsum (<measure_object>)

I found this 'extended' syntax on the internet

=runningsum (<measure_object>; <dimension_object1>, <dimension_object2>, ...)

Obviously you can list a number of dimension objects after the measure object to tell the runningsum function when it should re-start.

Thomas

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Thomas,

thx for your answer. Maybe I get more informations about books etc directly from BO.

If I have more information, I will inform you by ng.

regards

Markus