Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

yxmd as csv - Formula tool: Identify if a update to current column or create new column

hungdm
8 - Asteroid

I tried to import .yxdb as .csv (no delimiter) to see configuration of a tool containing Expression Editor.

 

Can we Identify if a Formula tool 1.Update new values to the current column or 2. Create new column? 

 

Thanks

3 REPLIES 3
Jonathan-Sherman
15 - Aurora
15 - Aurora

Hi @hungdm,

 

I'm assuming you meant importing a .yxmd (workflow) as a .csv? If that's true then...

 Firstly i've created a simple workflow with three fields:

 

Jonathan-Sherman_2-1611662151143.png

 

 

In this workflow there are three formulas, first formula is updating an existing field and the other two are creating new fields.

 

Jonathan-Sherman_0-1611661974444.png

 

The main workflow reads in our first example workflow as a non delimited .csv and parses the XML for formula expressions, comparing it against fields that existed in the original data set. the [Cost Price] field is the only one that existed originally, the other two are new.

 

Jonathan-Sherman_1-1611662111113.png

 

If this solves your issue please mark the answer as correct, if not let me know! I've attached my workflow for you to download if needed.

 

Kind regards,

Jonathan

 

 

hungdm
8 - Asteroid

 

It's wonderful. 

 

Thank you very much, Johnathan! 🤗

 

hungdm
8 - Asteroid

Hi @Jonathan-Sherman ,

 

Per latest testing, it seems to me that your workflow does not recognize the Update Current Column Pattern 😞

could you kindly fix this bug?

Labels