Your question is quite vague, with no examples. Wha I would suggest is that in your dataset, before you get to the proc report, you do your logic and assign a grouping var which will later be used to identify the style. Then in your proc report you can set the grouping var to noprint, and then use that grouping var to decide what style to apply to the line.
... View more