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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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