Alteryx Designer Desktop Discussions

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

Same information with different headers

NachoArg
Meteoro

Capture.PNG

 

Does anyone know if there is a simple way to simplify a Table without using a formula?  I could create a new column in a Formula tool and put "if Store is null then Store ID".

 

But I wonder if there is another way to do this ? 

3 RESPUESTAS 3
SPetrie
Púlsar

That depends on how the data got that way to begin with. Are they from two different files or branches of the flow? You could just use a select to change the column name.

If the data comes in that way, you could split the data using nulls in the first column and a couple selects to remove the null columns and rename and union them back, but that seems a bit more complicated than just using a formula.

SPetrie_0-1650577988108.pngSPetrie_1-1650578006942.png

SPetrie_2-1650578073665.png  SPetrie_3-1650578086443.png

 

 

 

 

flying008
Magnetar

Hi,@NachoArg 

 

formula is you need !

 

录制_2022_04_22_11_12_50_259.gif

NachoArg
Meteoro

Could you please share the compete formula inside of REGEX_Replace ?

Etiquetas