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

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

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