Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I need to generate missing Order Nos. and the filled count for those months where that particular Order No. is not present and generate '0' as filled count. Something as shown in the image. Thanks.
hi
assuming your table is called Table1
this script should work
Table2:
load *,
if(isnull(OrderNo),peek('FullOrder'),OrderNo) as FullOrder
resident Table1
order by OrderNo,Month;
Hi.. tried this but it still does not generate the additional months for a particular OrderNo. if it wasn't there in the month. There's no difference between Orcer and FullOrder.
Finally found the Design Blog post I was looking for on this one, have a look, I believe it may give you an avenue:
Regards,
Brett