Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

Merge two columns to show distinct count of id as well as all null items.

knobsdog
8 - Asteroid

I have a workflow that is counting unique Id numbers as well as any null values to get an item total.  I used a unique tool to count distinct ids and a separate path counting nulls but I can't seem to figure out how to merge them back into one column.

 

Separate Columns show count of items with an id and those without an id.
Release DateDesign StageIdNull_Id
12/13/2020Validation1 
12/16/2020Validation8 
12/21/2020Validation2 
12/11/2020Validation 1
12/16/2020Validation 1
    
    
Need to merge columns to get a total count of items with id and null total.
Release DateDesign StageIdNull_Id
12/13/2020Validation1 
12/16/2020Validation9 
12/21/2020Validation2 
12/11/2020Validation 1

 

2 REPLIES 2
BrandonB
Alteryx
Alteryx

Maybe a summarize where you group by Release Date and Design Stage and then sum the count of IDs and Null IDS, then use a formula tool to sum the two columns together? 

 

sum.png

pedrodrfaria
13 - Pulsar

Hi @knobsdog 

 

Could you please provide a sample of the dataset you are working with, this way we will be able to better assist you.

 

You can use the Summarize tool to count distinct a ID field and count null values as well.

Labels