Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

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