Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Somme cumulée

Bonjour,

Je souhaiterai calculer une somme cumulée descendante dans un tableau. Je ne parviens pas à le faire.

Voici un exemple :

Je voudrais obtenir la colonne B.

     A          B

     10          80

     10          70

     20          60

     10          40

     30          30

                     0

 

1 Solution

Accepted Solutions
maxgro
MVP
MVP

Bonjour

je ne rappelle plus le francais de l'ecole mais tu peux ouvrir le doc .qvw (attachment)

ceci est mon resultat

104397.jpg

SET ThousandSep='.';

SET DecimalSep=',';

SET MoneyThousandSep='.';

SET MoneyDecimalSep=',';

SET MoneyFormat='€ #.##0,00;-€ #.##0,00';

SET TimeFormat='hh:mm:ss';

SET DateFormat='DD/MM/YYYY';

SET TimestampFormat='DD/MM/YYYY hh:mm:ss[.fff]';

SET MonthNames='gen;feb;mar;apr;mag;giu;lug;ago;set;ott;nov;dic';

SET DayNames='lun;mar;mer;gio;ven;sab;dom';

load *, rowno() as RN;

LOAD * INLINE [

A,          B

    10,          80

    10,          70

    20,          60

    10,          40

    30,          30

        ,          0

];

View solution in original post

2 Replies
maxgro
MVP
MVP

Bonjour

je ne rappelle plus le francais de l'ecole mais tu peux ouvrir le doc .qvw (attachment)

ceci est mon resultat

104397.jpg

SET ThousandSep='.';

SET DecimalSep=',';

SET MoneyThousandSep='.';

SET MoneyDecimalSep=',';

SET MoneyFormat='€ #.##0,00;-€ #.##0,00';

SET TimeFormat='hh:mm:ss';

SET DateFormat='DD/MM/YYYY';

SET TimestampFormat='DD/MM/YYYY hh:mm:ss[.fff]';

SET MonthNames='gen;feb;mar;apr;mag;giu;lug;ago;set;ott;nov;dic';

SET DayNames='lun;mar;mer;gio;ven;sab;dom';

load *, rowno() as RN;

LOAD * INLINE [

A,          B

    10,          80

    10,          70

    20,          60

    10,          40

    30,          30

        ,          0

];

Not applicable
Author

Ca fonctionne !

Merci