Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
i have a table having a date column which i have taken in list box.
now i want that if i select a particular date,the charts should be refreshed with all the previous dates.
example :
if i select 09/13/2013 the data should be of >09/13/2013
or if i select 01/02/2013 the data should be of >01/02/2013
You could do this with a OnChange-Trigger on this field. Sometimes is for such actions a separate date-field useful.
- Marcus
Hi,
Try this
vSelectedDate=GetFieldSelection(FieldName)
Use this is in the chart expression
=SUM({<[Datefield]={">=$(=$(#vMaxOrderDate)"},Year=,Month=,Quarter=>}Fieldname to be sum)
Hi Amrit,
Suppose that we have object:
1. Listbox -> For date selection
2. Line Chart
a. Dimension: Date Field
b. Expression: Sum(Sale)
To get your requirement done, we need to use calculated dimension; something like
Calculated Dimension: =Aggr(Only( {$<DateField = {">=$(=Date(Min(DateField),'dd-MM-yy'))"}>} DateField),DateField)
Expression: Sum(Sale)
It would be great if you have sample app here.
Regards,
Sokkorn
See the attached video
Hope it helps you
Hi Mohit,
i cant see any video attached.can you plz send me the link