Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

I want to take a value associated with the Max Date in a file, I have tried

I have tried Aggr(Sum(Amount), Max(MyDate) , [Int Reference]) but this doesnt seem to work (probably syntax or some such) has anybody got any ideas it also needs to be the correct Line

What I have are a number of records for a month plus a record from the following month which allows me to check if the asset line still existed at the beginning of the month I then need to calculate based on the average value excluding the record value from the following month i.e. avg(Amount) does not work as it takes an extra value. So I was going to sum all then deduct the latest value by date and then divide by a count of the records - 1.

Hope that makes sense.

Thanks in advance for any help.

Alan

5 Replies
Anonymous
Not applicable
Author

can you post a sample app...

Not applicable
Author

Not sure how to, sorry cant find an upload button anywhere 😞

Anonymous
Not applicable
Author

after you click reply, click on the advanced editor option and then you will have an option to "Attach" any file to your post.

Not applicable
Author

Here is a sample

Not applicable
Author

01-May500500
02-May500500
03-May200200
04-May700700
05-May700700
06-May700700
07-May700700
08-May700700
09-May700
Actual average600587.5

This might explain it better the average i want to calculate is the 587.5 (exclude the last value or the value with the Latest (max) date)

Thanks in advance

Alan