Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello all,
I am having Master Calender, now I have to assign last 6 month to six variable on the basis of Calender selection.
Example: FYear, FMonth in Calender
Say user selects April 2014
then my variable should have like this:
V1= April 2014
V2= March 2014
V3= Feb 2014
V4= Jan 2014
V5= Dec 2013
V6= Nov 2013
Pls suggest.
Regards,
Balraj
Check this qvw
Anbu,
Will it capture those month which comes into next or previous year??
Say,
I am having 2013 year as well,
if I selects Dec 2013, will it give Jan 2014???
Yes it will give Jan 2014
Dear Balraj,
Please find the below attachment what you are looking for. i just modified anbu cheliyan APP.
Regards
Krishna
Dear Balraj,
Use AddMonth function for this functionality.
This function is very useful for these kind of functionality.
For Exp:-v1:-month
v2=addmonth(month,-1)
v3=addmonth(month,-2)
v4=addmonth(month,-3)
v5=addmonth(month,-4)
v6=addmonth(month,-5)
AddMonth automatically transfer to last year.
for e.g if year is Jan-2014 then automatically it does Dec-2013.
Thanks & Regards
Prince Anand
Krishna,
I have edit it and added sales of the month as well.
Could you help me to get the sales of these month as well in similar fashion.
Say,
If I select Jan 2014 then It should give me the sales of last 3 month
Jan 2014 Sales:100
Dec 2013 Sales:128
Nov 2013 Sales:500
like this......
I have uploaded your sample file by editing it.
Prince,
It will pick garbage value in this case..........