In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Insert Missing Rows

DenisZ
11 - Bolide

I have a workflow where I want to see revenues, Cogs and salary for each company. However, in some companies there is no COGS or salary for example. I want the flow to add the rows that are missing and fill them will Null or 0's for all months. What would be the best approach for this?

 

Workflow/input is attached. 

2 REPLIES 2
Felipe_Ribeir0
16 - Nebula

Hi @DenisZ 

 

One way of doing this

Felipe_Ribeir0_0-1667221421707.png

 

ShankerV
17 - Castor

Hi @DenisZ 

 

Step 1: Use unique tool to get the unique values of  Item and Company ID separately

Step 2: Use the append and Join the input once again

Step 3: Use use Union tool  (Left join - That will include both L and J node) 

 

Solution is for your reference.

solution.jpg

Labels
Top Solution Authors