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.
SOLVED

Inserting two blank rows based on condition

andrewplaice
8 - Asteroid

Hi,

 

Thanks in advance - this community consistently keeps me progressing with my workflows and it gets easier every day!  Here is today's challenge:  I need to dynamically add two blank rows after each row where [Fund Name] = "Total".  

 

My data currently looks like this: 

Plan #TypeFundFund Name
1234BuyABCDCoffee Fund
1234 ABCDTotal
1234BuyEFGHSoda Fund
1234 EFGHTotal
3456ContributionWXYZWhiskey Fund
3456RepaymentWXYZWhiskey Fund
3456ContributionWXYZWhiskey Fund
3456ContributionWXYZWhiskey Fund
3456 WXYZTotal

I would like it to look like this:

 

Plan #TypeFundFund Name
1234BuyABCDCoffee Fund
1234 ABCDTotal
    
    
1234BuyEFGHSoda Fund
1234 EFGHTotal
    
    
3456ContributionWXYZWhiskey Fund
3456RepaymentWXYZWhiskey Fund
3456ContributionWXYZWhiskey Fund
3456ContributionWXYZWhiskey Fund
3456 WXYZTotal
2 REPLIES 2
fmvizcaino
17 - Castor
17 - Castor

Hi @andrewplaice ,

 

You can do that with the generate rows tool.

fmvizcaino_0-1589382050153.png

 

Example attached as well.

Best,

Fernando Vizcaino

 

andrewplaice
8 - Asteroid

It's a thing of beauty!  Thanks for the quick response - it works perfect.  Another aha moment for me.  I appreciate it!

Labels
Top Solution Authors