Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi guys,
I have created a variable. wanted to use it with the belwo last 30 days expression. i coudlnt get any value, iwhat is wrong with the expression??
=Sum( If( AddMonths(Today(),-1) ,$(vAmount1)))
Rgds
Jim
Can you show how you define vAmount1 variable?
Hi Jim,
So you mean you want them amount from last 30 days.
Then you should use.
Sum({<Date = {">=$(=Addmonths(Max(Date),-1))"}>}Amount)
If not then please give some example to understand your issue.
Regards,
Kaushik Solanki
is very long expression in it.
Sum (If (A_Funds = 'FUNDS_IN', local_amt))
+ Sum(If (B_Funds = 'FUNDS_IN', cust_local_amt))
+ Sum(If (C_funds = 'FUNDS_IN', payout))
-
(Sum (If (A_Funds = 'FUNDS_OUT', local_amt))
+ Sum (If (B_funds = 'FUNDS_OUT', ttl_payout))
+ Sum (If (C = 'FUNDS_OUT' and claim_com_code <> 'CHY', claim_local_amt)))
- sum(session_actual_winner)
So I guess you are trying to do aggregation within aggregation which would require you to use Aggr() function.
is too long to add in that expression into this:
Sum({<Date = {">=$(=Addmonths(Max(Date),-1))"}>}Amount)
Would you be able to share a sample?