Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi
Forecast - Jan 2012 | Forecast - Feb 2012 | Forecast - March 2012 |
---|---|---|
kind regards
Nayan
Hi
These are the expressions you need
='Forecast Sales Qty ' & Date(addmonths(max([Trans Date]), 1), 'MMM-YY')
='Forecast Sales Qty ' & Date(addmonths(max([Trans Date]), 2), 'MMM-YY')
='Forecast Sales Qty ' & Date(addmonths(max([Trans Date]), 3), 'MMM-YY')
Regards
Jonathan
Hi Nayan,
You can try the following code.
='Forecast-' & Date#(date(YourDateField,'MMM-YY'))
Regards,
Tom
Hi Thomas
Thank you for your feedback. . I've used your formula, but it did not work. Im new at Qlikview, and below the table is the scripting for the columns that was created for us.
Forecast Sales Qty Oct-2012 | Forecast Sales Qty Nov-2012 | Forecast Sales Qty Dec-2012 |
='Forecast Sales Qty ' & month(addmonths(max([Trans Date]) ,1)) & '-' & year(addmonths(max([Trans Date]) ,1))
='Forecast Sales Qty ' & month(addmonths(max([Trans Date]) ,2)) & '-' & year(addmonths(max([Trans Date]) ,2))
='Forecast Sales Qty ' & month(addmonths(max([Trans Date]) ,3)) & '-' & year(addmonths(max([Trans Date]) ,3))
kind regards
Nayan
Hi Nayan,
You can try this one
='Forecast Sales Qty ' & month(addmonths(max([Trans Date]) ,1)) & '-' &date(date#(max(Year([Trans Date])), 'YYYY'),'YY').
Regards,
Tom
Hi Tom
Apologies for the dealyed reply. The result is as follows where there year has fallen away:
Forecast Sales Qty Oct- |
Hi
These are the expressions you need
='Forecast Sales Qty ' & Date(addmonths(max([Trans Date]), 1), 'MMM-YY')
='Forecast Sales Qty ' & Date(addmonths(max([Trans Date]), 2), 'MMM-YY')
='Forecast Sales Qty ' & Date(addmonths(max([Trans Date]), 3), 'MMM-YY')
Regards
Jonathan
Hi Jonathan
Thank you for you help. It worked. On my 2nd query on how to merge columns, is there a way this can be done?
kind regards
Nayan