🔒 This topic is solved and locked.
Need further help from the community? Please
sign in and ask a new question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Posted 03-08-2020 05:07 PM
(6386 views)
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?
1 ACCEPTED SOLUTION
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
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