Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I have a small requirement, what are the possiblities we can do the line with cumulative.
1. We should not use in built Full Accumulation.
2. Can use Rangesum functionality.
3. Any other possiblities are welcome.
Regards,
Ravi.
Hi Stephan,
Please check the latest copy of application with "chart4".
thanks reply, but if i select 27 th it should come for that date only, 28th for 27th and 28th it should come.
Regards,
Ravi.
Hi Stephan,
One more issue, if i select one date it should come whatever the possible prior date also it should come. But that is not happening.
=aggr(rangesum(above(Sum({<TRANSACTION_DATE=>}Values),0,RowNo())),Department,TRANSACTION_DATE)
Regards,
Ravi.
Without the Full accumulation option, try something like
=aggr(rangesum(above(Sum(Values),0,RowNo())),Department,TRANSACTION_DATE)
which requires that TRANSACTION_DATE's load order is in chronological order (because aggr() will sort its dimension values by load order)
Hope this helps,
Stefan
Hi Stephan,
Thanks for you are answer, Let me check with others ideas too.
Regards,
Ravi.
Hi Stephan,
One more issue, if i select one date it should come whatever the possible prior date also it should come. But that is not happening.
=aggr(rangesum(above(Sum({<TRANSACTION_DATE=>}Values),0,RowNo())),Department,TRANSACTION_DATE)
Regards,
Ravi.
Ravi,
not sure what you mean with 'if i select one date it should come whatever the possible prior date also it should come.'
Maybe:
=sum({<TRANSACTION_DATE=>}
aggr(rangesum(above(Sum({<TRANSACTION_DATE=>}Values),0,RowNo())),Department,TRANSACTION_DATE)
)
Hi Stephan,
thanks for your reply, but if i select 27 th it should come for that date only, 28th for 27th and 28th it should come.
Regards,
Ravi.
Thanks stephan, It works for me..
Try maybe
=sum({<TRANSACTION_DATE={"<=$(=date(max(TRANSACTION_DATE)))"}>}
aggr(rangesum(above(Sum({<TRANSACTION_DATE={"<=$(=Date(max(TRANSACTION_DATE)))"}>} Values),0,RowNo())),Department,TRANSACTION_DATE)
)
to limit the date range to dates smaller equal the selected date.