Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Max Amount Supplier

Hi, How can I create a variable that bring the supplier ID with maximum amount in any period selected?

I need to compare the amount of each provider on the most participation has.

Example:

Max Amount Supplier

YearAmountID_Supplier
2010$100.000123
2011$120.000444
2012$110.000999

After this I may have to make a table like this:

YearID_SupplierAmountAmount_Max_SupplierAmount / Amount_Max_Supplier
2010111$20.000$100.00020%
2011111$60.000$120.00050%
2012111$33.000$110.00030%

Thanks!

1 Reply
whiteline
Master II
Master II

Hi.

=FirstSortedValue(ID_Supplier, Amount)