Hi my approach is still short of the customer's expectation.
The customer wants the next day bringing over the previous days transactions even if the loan is not returned, e.g.
total daily count con loan issued returned
1/08/2012 ( group 1) 3
borrower (group 2) 3
item 1 1/8/2012 3/8/2012
item 2 2/8/2012 3/8/2012
item 3 3/8/2012 3/8/2012
2/08/2012 0 ( currently I calculated based the fact there is no trascaction on that day, but the customer wanta it gives the value that indicates there are items still on loan on that day regardless there is transaction or not; if there is transaction, it must otherwise adds previous day's )
the daily total count is in a formula ( group 1):
if distinctcount({GET_SQIT_LAPTOP_USAGE.ID}, {GET_SQIT_LAPTOP_USAGE.date_value}) = 0 then 0
else
distinctcount({GET_SQIT_LAPTOP_USAGE.ID}, {GET_SQIT_LAPTOP_USAGE.date_value})
the concurrent count for each borrower in a formula ( group 2):
distinctcount({GET_SQIT_LAPTOP_USAGE.ID},{@borrower_names})
My query is how I can bring over the previous day's data added togther with or without today's transaction. PLease advise, thanks in advance.
JS