Hi @MahRaz,
Yes, but you will need a few additional auxiliary calculations, because you cannot use categories in aggregated measures, like we used before with the calculated item to evaluate the parameter value.
AuxMeasure1:
IF 'selected measure1'p Missing
RETURN 0
ELSE IF 'selected measure1'p = 'Aggreg Measure A'
RETURN 1
ELSE IF 'selected measure1'p = 'Aggreg Measure B'
RETURN 2
ELSE .
NewMeasure1 (this is your new proxy aggregated measure):
IF Min(AuxMeasure1) = 0
RETURN .
ELSE IF Min(AuxMeasure1) = 1
RETURN AggregMeasureA
ELSE Min(AuxMeasure1) = 2
RETURN AggregMeasureB
ELSE .
I've used the funtion Min(), but Max() and Avg() also work.
Best,
Renato
Hi,
you tried click the right button on the variable and change the measure property to category??
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.
Find more tutorials on the SAS Users YouTube channel.