BookmarkSubscribeRSS Feed
blewsas
Obsidian | Level 7

I want to build a filter that uses two different data items ("Form 7 Warrant" and "Form 21 Warrant").  I only want those records where

 

    "Form 7 Warrant" = "Issued" or "Form 21 Warrant" = "Issued". 

 

However, I can seem to do this in the filter advanced editor.  Any suggestions?

 

Thanks!

2 REPLIES 2
FredrikE
Rhodochrosite | Level 12

Hi!

I tested this in VA8.3.1 and for me it's working.

My folrmula in the advaced filter:

 

(  'Primary Labour Group'n StartsWith 'E') OR ( 'Ship Year'n = '2015' )

 

Using a test dataset in my viya installation called 'COSTCHANGE'

 

//Fredrik

blewsas
Obsidian | Level 7

Yes, thanks, I was just doing it wrong.  I had pre-selected one data item before I tried to build the query and then I couldn't select any other data items.  If I build the query without pre-selecting a data item, they're all available to me in the query builder.

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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
  • 2 replies
  • 1254 views
  • 1 like
  • 2 in conversation