Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have two variables
Currentday = 06/11/2012
Previousmonth = 05/12/2012.
I am trying to write a set expression in my line chart using these two variable where date lies between Currentday to Previous month
Date is the dimension
Hi AJ,
Is that the latest version I uploaded? vCurrentDate will always be greater than vPreviousDate and I corrected that mistake in the second version.
Regards.
Miguel
Miguel,
I just see one version from you.
Its an images from that version only.
vCurrentDate will always be greater than vPreviousDate ?
I didn't get that
Hi AJ,
Indeed, vCurrentDate will always be greater than vPreviousDate, the latter is defined to be one month before. You can see that in the Settings menu, Variable Overview.
The logical expression must be (from the lower date -one month ago- to the higher -today):
>=vPreviousDate<=vCurrentDate
Hope that makes sense.
Miguel
Miguel,
I got it.
But ran into another problem may be it is because of data I have in Excel.
Its not doing the Avg. of Deposit based on dates
Basically its giving me the same value in line chart as it is in Excel.
In excel I have Date field with dates from May2010 to Aug2012.