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

Data Preparation

ayadav8
8 - Asteroid

Hey Community!

 

My data file contains product numbers and sales over monthly buckets. The First month of sale is different for different products. There are also months when no sale happened for a particular product. For my analysis I want all the months prior to the first sale month of a product to be null() and all the empty cells after the first sale to be zero.

 

 

I am not sure how to do this, is there an easier way to do? The attached excel file will give you a clear picture.

 

Thanks so much!

2 REPLIES 2
LordNeilLord
15 - Aurora

Hey @ayadav8

 

This is a possible solution:

 

Null().PNG

ayadav8
8 - Asteroid

@LordNeilLord Thanks. That served the objective pretty well

Labels
Top Solution Authors