cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Max value -Foreach function in Webi

Former Member
0 Likes
8,812

Hi all,

I have a requirement to get the maximum value based on two dimensions. Below is the data.

data.png

I need to get the maximum "Sequence 2" value for every unique "Planned Year Quarter" in a unique "Project."

Below is the formula I inserted for "Test1" but I get incorrect results.

=Max[Sequence 2] ForEach ([Planned End Year Quarter])) In ([Project])

Can someone please help me with the correct formula.

Thanks.

View Entire Topic
amitrathi239
Active Contributor
0 Likes

try this.

=Max[Sequence2] IN ([Planned End Year Quarter];[Project])
Former Member

Thanks Amit. It worked.