A FORMAT procedure that uses the MULTILABEL option and a format as a label might cause incorrect HLO variable values.
The output from the code below shows the HLO variable value is different for Q1 even though the ranges are the same.
The current workaround is to put the ranges with the format labels as the last ranges.
proc format cntlout=T1;
value $perioda (multilabel)
'201810'-'201812'=[$6.]
'201810'-'201812'='Q1'
;
value $periodb (multilabel)
'201810'-'201812'='Q1'
'201810'-'201812'=[$6.]
;
proc print data=work.t1;
var fmtname start end label hlo;
run;
Obs FMTNAME START END LABEL HLO
1 PERIODA 201810 201812 $6. MF
2 PERIODA 201810 201812 Q1 MF
3 PERIODB 201810 201812 Q1 M
4 PERIODB 201810 201812 $6. MF