Adding fakevar inside of proc report is fine, but ordvar is added outside of proc report which defeats my goal to avoid pre-processing the class dataset. In some cases you don’t have to prepare your data to produce a report (e.g. proc report can produce a sorted output even if the input dataset is not sorted). Apparently that's not always the case, which my example seems to prove. Anyway, thank you very much for your input – I really appreciate it.
... View more