Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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
Bonjour
je ne rappelle plus le francais de l'ecole mais tu peux ouvrir le doc .qvw (attachment)
ceci est mon resultat
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
];
Bonjour
je ne rappelle plus le francais de l'ecole mais tu peux ouvrir le doc .qvw (attachment)
ceci est mon resultat
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
];
Ca fonctionne !
Merci