ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
解決済み

IN-DB formula flag

averyntxu
アトム

First time using In-Database tools.

I'm trying to use only In-DB tools to make this as efficient as possible but this is essentially what I want to do. 

2019-04-23 13_51_23-Window.png

 

I know I need to use an outer join but I can't get the SQL expression correct to flag if the Left attached table unique id is Null.

This is essentially the formula I would use:IF IsNull([Unique ID])THEN 1 ELSE 0 ENDIF

3件の返信3
Thableaus
17 - Castor
17 - Castor

Hi @averyntxu 

 

Which database provider are you using? That's really important since Formula In-DB tool depends on the syntax of the database.

 

Cheers,

averyntxu
アトム

I'm using Oracle

Thableaus
17 - Castor
17 - Castor

@averyntxu 

 

Try with Formula IN-DB tool

 

CASE WHEN UniqueID IS NULL THEN 1 ELSE 0 END

 Cheers,

ラベル
トップのソリューション投稿者