Hello,
I have a report in webintelligence which goal is to compute the length items are loaned (in an academic library context) which is quite simple:
- one query to get the loan ID and the time it was issued
- one query to get the loan ID and the time it was returned
I have merged the two loan ID, created a dimension to compute the duration of each loan in minutes by subtracting the return date and the issue date. To get this working, in my table I had to select the Avoid duplicate row aggregation", maybe it explains the issue I experience.
I am able to get a table:
Loan ID | Issued | Returned | Duration |
---|---|---|---|
302032 | 2015/10/01 08:43 | 2015/10/02 08:27 | 1,424 |
302095 | 2015/10/01 10:59 | 2015/10/01 12:08 | 68 |
This part works fine, unfortunately, if I try to add a row to compute the sum of all the duration =Sum([DurationInMinutes]) the cell containing this fomula remains empty. I have tried to transform to numbers and things like that but could never get the things working.
Has anybody got an idea what I should do to get this done?
Thanks for any advice on this!
Sylvain