Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
if i select the 2013 jan mean i want to show next 21 month sales values in line chart
You will have a Start Date and End Date:
Example: StartDate = Today()
EndDate = Month(AddMonths(Today(),21))
If you save your Date range in variables, your expression can be:
=Sum({<Date_Field = {'>=$(=date($(vStartDate)))<=$(=date($(vEndDate)))'}>}Sales)
Thank you for your reply
i want this calculation in dimension. i have master calender also
you can use your Date Range to a "Select in Field" action, making it visible in your current selection box, or you can use it for your calculated Dimension.
Maybe something like below for your calculated dimension
=if(Date >= vStart_Date and Date <= vEnd_Date,Date)
Dear Jonathan Penulier,
i want to show the next 21 month from current month.can i change is it in script?
in the load Script? of course you can,
add a Where clause on your Date field with your Date range.
can you tell that syntax of this
When you say Current month, you mean this month correct? so I am thinking, what data can you load from your source for the next 21 months?
You see my logic there, how can you load for example the next 21 months transactions if it hasn't happen yet?