ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

General Discussions

Discuss any topics that are not product-specific here.
SOLVED

Fill in missing dates in a range (prep for cumulative total)

RBF
7 - Meteor

Hi

 

I have a dataset of volumes by SKU (in excess of 100 SKUs) by month.  The month range is always from the current month to 10 months from now.

 

However, not every SKU has data for every month, creating gaps.  I need to fill in these missing values, just with a 0. 

 

I know how to create the running total, but I do not know how to fill in the gaps in the date range

 

Example below: 

 

altQ.png

2 REPLIES 2
binu_acs
21 - Polaris

@RBF One way of doing this

Note: Creating the test input file from the image is a time-consuming process, next time please provide the input file in excel

binuacs_0-1677537941161.png

 

RBF
7 - Meteor

This works great, thank you!  The only thing I added was a Max_Count on the number of SKUs to make that <=2 dynamic

 

Noted on the spreadsheet upload ;)

Labels
Top Solution Authors