on 05-01-2017 10:32 PM
Hi all, thanks in advance for spanding time on reading my question!
I am trying to calculate a "max" value for a list of data in WebI however I can't figure out the right combination of Max() with either ForEach or In... I've tried many different combinations but never get what I'm looking for...
This is a heavily simplified example of the data I'm working with:
So, I'm looking to get 1 value (max of 'Duration') for each 'Parent Ticket'...
Could anybody on this community please help me out?
Thank you very much in advance!
Bernard.
Hello Bernard
What happens if you try this:
=Max([Duration] In ([parent ticket]))
Regards
Antonette
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please ignore my previous comments... It doesn't work...
I get a "172.4" everywhere
I don't understand why - this was the behavior I've seen earlier and why I raised the question here...
Now, I got it to work because (in one of my previous trials) I had created an intermediate column between DURATION and MAX DURATION and added a 'runningmax'.
With the following formula: runningmax(duration;(parent ticket)) in the RUNNINGMAX column, I get:
I'm already happy that it works but I would like to understand why I need that intermediate step...
Any ideas?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
use Foreach.
=max(duration) foreach( child ticket) in (parent ticket)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
try this.
=max(duration) in (parent ticket)
Makesure your duration object data type should be number.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
73 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.