Hi!
I have incomplete data and wonder whether I can complete it with a DEFINE. The data is about sales of different products. I have a field named PRODUCT, one named NUMBER and a field named DATE. The DATE field has the format e.g. 20040112 for 12th January 2004.
But not every product is sold every day. So if e.g. a product named "soap" is not sold on 12th January 2004 there will be no row in the data. Yet I'd need a row where PRODUCT=soap, NUMER=0 and DATE=20040112.
What I now thought is why not generate this? I can have a list of all products sold in this month (namely in the field PRODUCT) and where one of these is not sold on one day in that month I insert a row with NUMER=0.
Does anybody have an idea how to do this?
Eva
I have incomplete data and wonder whether I can complete it with a DEFINE. The data is about sales of different products. I have a field named PRODUCT, one named NUMBER and a field named DATE. The DATE field has the format e.g. 20040112 for 12th January 2004.
But not every product is sold every day. So if e.g. a product named "soap" is not sold on 12th January 2004 there will be no row in the data. Yet I'd need a row where PRODUCT=soap, NUMER=0 and DATE=20040112.
What I now thought is why not generate this? I can have a list of all products sold in this month (namely in the field PRODUCT) and where one of these is not sold on one day in that month I insert a row with NUMER=0.
Does anybody have an idea how to do this?
Eva