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.

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