Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
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