community
cancel
Showing results for 
Search instead for 
Did you mean: 

Alteryx designer Discussions

Find answers, ask questions, and share expertise about Alteryx Designer.
Upgrade Alteryx Designer in 10 Steps

Debating whether or not to upgrade to the latest version of Alteryx Designer?

LEARN MORE
SOLVED

Data Preparation

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!

Alteryx Certified Partner

Hey @ayadav8

 

This is a possible solution:

 

Null().PNG

Asteroid

@LordNeilLord Thanks. That served the objective pretty well

Labels