Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

How to insert Blank row

RaviPM10
7 - Meteor

Hi Team, I've build an workflow however I'm stuck how to insert a blank row above Total Valuation

 

Condition is if Security column contains "Total Valuation" I wanted to add blank row above it & ensure formatting don't get changed.

8 REPLIES 8
nagakavyasri
12 - Quasar

@RaviPM10 Try this:

 

Screenshot 2024-10-28 120619.png

RaviPM10
7 - Meteor

Thanks @nagakavyasri  this works however is there any option to add a row without referencing "Blank row" file, already my workflow have a multiple reference file.

nagakavyasri
12 - Quasar

@RaviPM10  'Generate Rows' could be another solution. But since you have a condition to generate blank rows, this is the possibly solution I could think of at the moment.

flying008
15 - Aurora

Hi, @RaviPM10 

 

FYI.

录制_2024_10_29_09_42_59_316.gif

 

1- Multi-Row Formula: [Ref] = 

IIF(IsEmpty([Security]) && [Row+1:Security] = 'Total Valuation' , 2, 1)

 

2- Generate Rows: 

RowCount <= [Ref]

 

3- Multi-Field Formula: for all field

IIF([RowCount] = 2, Null(), [_CurrentField_])

 

4- Select: Remove unless fields.

binuacs
21 - Polaris

@RaviPM10 another option

image.png

 

RaviPM10
7 - Meteor

Thanks @flying008  its look good

RaviPM10
7 - Meteor

Thanks @binuacs  want to add one more condition what if I want to add row if Quantity cell contains text value, for example Corporate value, State value & ETC.

binuacs
21 - Polaris
Labels