Alteryx Designer Desktop Discussions

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

Replace number within text column

adombayeva
7 - Meteor

Hello, I'm new in Alteryx and have an issue which cannot solve. 

I have set up the condition for value, so in 'Purpose' column it suppose to pick up the right text (forecast, planned or actual). But when it comes up to the ''actual" instead of using it as a word, it takes it's value. Could you please advise how to solve it, so under "Purpose" will be all text?

 

The situation is as follows:

clipboard_image_0.png

 

Metadata:

clipboard_image_1.png

 

Thanks,

Anar

4 REPLIES 4
Thableaus
17 - Castor
17 - Castor

Hi @adombayeva 

 

You probably referenced Actual in your IF statement as a column, that's why it's taking a value from it, make sure you quote it like this:

"Actual"

 

Cheers,

adombayeva
7 - Meteor

Hello,

Thank you for support,

Please find my 'IF' condition:

clipboard_image_0.png

 

It seems you are right, then when I change it to "Actual" it gives me the following error:

clipboard_image_1.png

clipboard_image_2.png

How to write it in correct way?

 

Thanks

 

Thableaus
17 - Castor
17 - Castor

@adombayeva 

 

The "Value" calculation is under the numeric values. So you need to keep [Actual] as it is.

 

From my point of view, the only change you need to make is in the Purpose Column.

 

Just to make it clear:

 

[Actual] - References values under the column Actual.

"Actual" - References the string (the word) "Actual" 

 

Cheers,

adombayeva
7 - Meteor

Hello #Thableaus,

 

 

Thank you very much, it works!

Have a wonderful day! 

Going to crack further. This journey will not be an easy 🙂

 

Cheers

Labels