Alteryx Designer

Find answers, ask questions, and share expertise about Alteryx Designer.
SOLVED

Not Null help

Highlighted
8 - Asteroid

Hi- I am simply trying filter for all [Effective Date] that are less than [Disposed] date.  However, if [Disposed] date is null I also want to keep on the true side.  So ending result should return Property B and C.  Can someone please help fix my expression?

 

Thanks.

Highlighted
10 - Fireball

IsNull([DISPOSED])
or
[Effective Date]<=(datetimeformat([DISPOSED],"%Y-%m"))+ "-01"

 

Is this the formula I think your looking for?

Highlighted
Alteryx
Alteryx

@cireost In the filter tool you can write multiple formulas. The formula you are looking for is:

[Effective Date]<=(datetimeformat([DISPOSED],"%Y-%m"))+ "-01" OR isnull([Disposed])

 

Digan
Alteryx
Highlighted
13 - Pulsar

Here is the sample workflow. Just use filter tool twice. One to filter all the rows with null disposed date. Second is to filter all the records where effective date is less than disposed date.  Finally, use union tool to combine output from both the filter tool. 

 

Sample workflow.PNG

Labels