Alteryx Designer Desktop Discussions

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

Urgent help

Kiara16
Meteoro

Hi 

i have two columns tax year and period

i want to make a new column month by attached logic.

can someone tell me whats the error in this? I am getting timeout error. And getting null values in the output.

 

6 RESPOSTAS 6
Dev73
Asteroide

Hi @Kiara16 can you send the screenshot of the error?

Qiu
21 - Polaris
21 - Polaris

@Kiara16 
Most likely that your "tax year" and "period" are of Numeric Data type, and you should remove the quotes around 2022 and same for 9, 10, 11, 12

And your current result should be empty rather than null, right?

If [Tax Year] = 2022 and [Period]=9 then "March" elseif
[Tax Year] = 2022 and [Period]=10 then "April" elseif
[Tax Year] = 2022 and [Period]=11 then "May" elseif
[Tax Year] = 2022 and [Period]=12 then "June" else
" " endf

 

Kiara16
Meteoro

This is the error

Kiara16
Meteoro

For the one where criteria is met its showing  NULL

and also when i am removing quotes its coming in black

Try removing quotes and put months in the single quotes

Kiara16
Meteoro

Thank you all i got that sorted. Got my mistake

Enquetes
We’re dying to get your help in determining what the new profile picture frame should be this Halloween. Cast your vote and help us haunt the Community with the best spooky character.
Don’t ghost us—pick your favorite now!
Rótulos