Alteryx Designer Desktop Discussions

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

Insert 'zero-values' for dates without data

ArminL
7 - Meteor

Hey Community,

I have the following table with consumer data for a certain time period (e.g. 2017-12-21 to 2017-12-23) but when a consumer did not consume on a certain date, there is obviously no data for her.

Nervertheless I would like to have all dates for all customers in the table, with days where there was no consumption "value = 0".  Anybody can give me a quick hint? :)

 

ConsumerDateValue
12017-12-213
22017-12-205
22017-12-212
22017-12-2212
3

2017-12-22

6
3

2017-12-23

8

 

Thanks in advance and cheers

Armin

2 REPLIES 2
jasperlch
12 - Quasar

Hi @ArminL,

 

The workflow below should do:

 

Capture1.PNG

ArminL
7 - Meteor

Thanks @jasperlch for the quick help. Appreciate it :)

Labels