BookmarkSubscribeRSS Feed
dekeyrelc
Calcite | Level 5

I have data where a row can document a "Item Added" or and "Item Removed" or both an "Item Added" and "Item Removed".  I would like to have a control that return all rows where the "Item" is in Either the "Item Added" or "Item Removed" field.  Is it possible to add logic to a control?  Or create a new category that will return both "Items" when one is both added and another removed? 

1 REPLY 1
mkeintz
PROC Star

@dekeyrelc wrote:

...

  I would like to have a control that return all rows where the "Item" is in Either the "Item Added" or "Item Removed" field.  Is it possible to add logic to a control?

Answer: Yes.

 

But you would need to show a sample of your data, in the form of a working data step, to receive a more helpful response.


 

--------------------------
The hash OUTPUT method will overwrite a SAS data set, but not append. That can be costly. Consider voting for Add a HASH object method which would append a hash object to an existing SAS data set

Would enabling PROC SORT to simultaneously output multiple datasets be useful? Then vote for
Allow PROC SORT to output multiple datasets

--------------------------

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!

Submit your idea!

Tips for filtering data sources in SAS Visual Analytics

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.

Discussion stats
  • 1 reply
  • 424 views
  • 0 likes
  • 2 in conversation