1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
proc format;
picture sepmilliereuro -999999999 -<0 = '000 000 009,99 ' (prefix = '-' decsep = ',')
0 - 999999999 = '000 000 009,99 ' (decsep = ',');
picture sepmillier 0-high = "000 000 009";
run;
data presta_popu;
input pre_mnt_mutuelle pre_date_paiement code_perim $;
format pre_date_paiement DATE9.;
cards;
2 17017 A
35 17517 A
82 17017 B
2 17517 B
35 18017 C
82 18017 A
;
run;
data presta_popu_an;
set presta_popu;
an = year(pre_date_paiement);
run;
proc report data = presta_popu_an
nowindows missing headline headskip;
column an code_perim , pre_mnt_mutuelle;
define an / display 'Année' group;
define pre_mnt_mutuelle / analysis 'Montant' format = sepmilliereuro.;
define code_perim / display 'Code Périmètre' across;
rbreak after / summarize skip dol;
run; |
Partager