We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

To generate row based on the cell value

Gsiva3
8 - Asteroid

Hi Team,

I have two columns in my input namely ColA & ColB. In ColB in one of the cell I have value as "Indication". So whenever I ma getting this word indication in the ColB I want a new row to be inserted above this "Indication" cell.

Please help me on this 

Input
ColAColB
1Section
2Terms
3Conditions
4Queries
5Indication

 

Output
ColAColB
1Section
2Terms
3Conditions
4Queries
  
5Indication
5 REPLIES 5
Christina_H
14 - Magnetar

Something like this?

Christina_H_0-1681303214779.png

 

BS_THE_ANALYST
15 - Aurora
15 - Aurora

@Gsiva3 one way:

BS_THE_ANALYST_0-1681303212411.png

Using the multi-row to identify the Indicator row. This allowed me to create a flag on that row, and all the rows below it. 
Then filtering indicator row and below from the top section. Then adding a dummy row in. Then unioning everything together

 

All the best,
BS

LinkedIN

Bulien
PhilipMannering
16 - Nebula
16 - Nebula

Hey @Gsiva3 

 

Something like this,

PhilipMannering_0-1681303365352.png

 

BS_THE_ANALYST
15 - Aurora
15 - Aurora

@PhilipMannering nice. I've never used an IF statement inside the generate rows tool. That's really cool. 

 

All the best,
BS

LinkedIN

Bulien
PhilipMannering
16 - Nebula
16 - Nebula

Yeah, it works surprisingly well.

Labels
Top Solution Authors