Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
timsaddler
Creator III
Creator III

"Mind blank" on finding Max Value in a straight table

Hi all

I noticed a thread to calculate this in a script, but is it possible to do this in a chart straight table calculation?

Here is the example data :-

    

Customer A/c NameProject NumberSales RevenueMultiple Quote
Smith123456722,626.204
Jones123456722,576.604
Brown123456721,956.444
Black123456713,290.00

4

I

The business have quoted the same (Project number)job to 4 different customers

I need to show the largest quote only  - in this case 22,626.20

Thanks in advance

1 Solution

Accepted Solutions
timsaddler
Creator III
Creator III
Author

4 Replies
Chanty4u
MVP
MVP

=Max(( projectnumber),customername,salesrevenue)

MayilVahanan

HI'

Try like this

Dimension:

Project Number

Expression:

Sales Revenue

=Max([Sales Revenue])

Customer

=FirstSortedValue([Customer A/c Name], -([Sales Revenue]))

Project Number =Max([Sales Revenue]) FirstSortedValue([Customer A/c Name], -([Sales Revenue]))
22626.2 Smith
123456722626.2Smith
Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
Chanty4u
MVP
MVP

u can

AGGR( nodistinct

     MAX(

           AGGR( nodistinct

                    <formula>

                    ,Customer, Stage)

     )

, Customer)

timsaddler
Creator III
Creator III
Author

I've ended up using this procedure :-

To Find Max value in a One Column