Hi,
I have a Category called "Current" with values of "Y" and "N". I have a measure called "Unique". Is it possible in SAS VA to create a New Aggregated Measure, by only have the value of "Current" being "Y" and returning the measure "Unique" where this condition has been met?
Cheers
Haydn
Hello Haydn,
I think I accomplished what you are looking for using a calculated item instead of aggregated measure. Please take a look at the image I am attaching.
If( Current = "Y")
Return Measure
Else ""
Leave else blank and it should interpret it as blank/return nothing.
Let me know if that doesn't work.
Mike
Hello Haydn,
I think I accomplished what you are looking for using a calculated item instead of aggregated measure. Please take a look at the image I am attaching.
If( Current = "Y")
Return Measure
Else ""
Leave else blank and it should interpret it as blank/return nothing.
Let me know if that doesn't work.
Mike
Hi Haydn,
It looks like you marked my response as accepted. If you are having any trouble still let me know. Perhaps include a screenshot if possible? I think it was probably an error with the quotation marks.
Thanks,
Michael
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.