Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

formula, !isnull

wonka1234
10 - Fireball

Hi,

 

How do I create a formula (same column) to get the !notnull values.

 

wonka1234_0-1647980307843.png

 

!IsNull(([Mainframe_ACF2]))  I am trying this but getting values of 0 and -1.

 

Thanks

 

11 REPLIES 11
CathyS_Slalom
9 - Comet

Hi @wonka1234, what is the end results that you are looking for? To filter out the nulls or flag the nulls?

wonka1234
10 - Fireball

@CathyS_Slalom  filter out the nulls. my result is currently:

 

wonka1234_0-1647981088567.png

 

CathyS_Slalom
9 - Comet

@wonka1234 - for that purpose you can use filter tool. Select the column that you want to filter on and select the option "Is not null" to filter out the nulls from T anchor (stands for True)

cathyshi525_0-1647981273712.png

 

wonka1234
10 - Fireball

@CathyS_Slalom  i do exactly that( filtered with multiple columns) , but i want to combine them all results into one column

 

wonka1234_0-1647981461475.png

 

need to get the results of this into one col

 

CathyS_Slalom
9 - Comet

@wonka1234 I guess you want to create a filter with multiple conditions. In order to do that, you can click the custom and combine the conditions together. If you want the end results to meet all of the conditions then use AND, otherwise use OR.

cathyshi525_0-1647982006452.png

 

EN6924
10 - Fireball

Use Union tool to append the results one below the other.

 

like below -

EN6924_0-1647982519105.png

 

Qizhan
5 - Atom

what does the" !IsNull" mean

KrishnaChithrathil
11 - Bolide

@wonka1234 

I'd suggest you to use Union Tool. either before the Filter or after Filter.

If the column names are all same, Give auto config by name. If all column names are not same, you can make it similar using a select tool as well.

KrishnaChithrathil_1-1668407050092.png

 

KrishnaChithrathil_0-1668406933514.png

 

Thanks,

Krishna

 

KrishnaChithrathil
11 - Bolide

@Qizhan 

that's a check. If a value is null or not. 

If we use filter with !IsNull([Field1]), the true condition would be all the not null values in Field1 column. 😊

 

Thanks,

krishna

 

Labels