Alteryx Designer Desktop Discussions

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

Show 0 instead of skipping lines in Summarize outputs

45179902
8 - Asteroid

Right now, the Summarize tool skips records that have count = 0 in its output. I would like 0 to be outputted rather than getting skipped.

 

Input data:

 

All the possible combinations are A-A, A-B, A-C, and A-D. Below is an input file.

 

TypeCategory
AA
AB
AB
AD

 

When I group by Type and Count categories, I would like the Summarize tool to get me:

 

TypeCategoryCount
AA1
AB2
AC0
AD1

 

Instead of 

 

TypeCategoryCount
AA1
AB2
AD1

 

If Summarize is not the right tool, other solutions would be acceptable as long as they produce this desired output. Such solutions must not be hardcoded for the given example. It should work for Type B, C, D, etc. as well to be accepted.

1 REPLY 1
Qiu
21 - Polaris
21 - Polaris

@45179902 
I think we can prepare a list of Type then add the missing "Type" into the output of Summarize tool

1206-lizhaozhi.png

Labels