Free Trial

Alteryx Designer Desktop Discussions

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

Question About Multi-Field Formula

tamluenwai29
8 - Asteroid

Hi All, 

 

I am new to Alteryx, I got a problem that I think it should related to multi-row formula tools. Here's my raw data:

F1F2F3F4F5F6
Month[Null][Null][Null][Null][Null]
Monthly Activities 101102103104105
- Booth[Null][Null][Null][Null][Null]
- Advertisement 201202203204205 
- Guest301302303304305

 

Expected Output: 

F1F2F3F4F5F6
Month[Null][Null][Null][Null][Null]
Monthly Activities [Null][Null][Null][Null][Null]
- Booth101102103 104105
- Advertisement 201202203204205 
- Guest301302303304305

 

The reason of why this problem occurred is because value in F2, F3 etc... are merged cells in row Monthly Activities  and - Booth.

Thanks all of you. 

 

 

 

3 REPLIES 3
gawa
16 - Nebula
16 - Nebula

hi @tamluenwai29 

Yes, the Multi Row Formula tool will work.

I suppose you are struggling with 'How to apply Multi Row Formula to multiple columns efficiently'.

If so, try Transpose & Cross-Tab like this. By using combo of Transpose & Cross-Tab, your WF will get so robust that accepts input data with dynamic schema(unknown # of columns, etc.)

image.png

apathetichell
19 - Altair

formula tool

formula 1

 

if [f1]="booth" then "monthly two" elseif [f1] = "monthly activities" then "booth" else [f1] endif

formula 2

- use the same idea to set monthly two to monthly activities.

 

fix this to reflect your actual field values. use formula 3 to reset recordid as needed.

flying008
15 - Aurora

Hi, @tamluenwai29 

 

Another way for this case with no multiple-field formula.

 

录制_2024_10_14_13_50_34_639.gif

录制_2024_10_14_13_54_26_610.gif

Labels
Top Solution Authors