Hi!
I am a new SAS VA user.
I have the following data variables: id (records are repeated) , department (three unique ones), status (yes/no)
I need to create a calculated item to count ids if department=one specific one AND status=no.
When I use AND operator, while creating a calculated item, it returns the result as an error: the expected type is boolean.
How can I do it?
Hi @PetriRoine,
Thank you for such a clear and quick explanation provided, I finally managed to create this calculated item. I really appreciate your help.
Kind regards,
Darja Jafanova
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
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.