Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have Table
T1:
Month, sales
Jan,300
Feb,500
May,600
] Now I want missing months march and April with previous month sales
Hi @Kalyani22,
SET vNull = NULL();
T1:Load Month,salesInline [Month, salesJan,300Feb,500May,600];
AllMonths:Load * Inline [Month, MonthNumJan, 1Feb, 2Mar, 3Apr, 4May, 5Jun, 6Jul, 7Aug, 8Sep, 9Oct, 10Nov, 11Dec, 12];
Left JoinLoad Month,salesResident T1;Drop Table T1;Apply sort by expression on Month field and use MonthNum field.******Hope this resolve your issue.If the issue is solved please mark the answer with Accept as Solution & like it.****