Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Display text field dependent on the maximum value of another numeric field

The title is not helpful so I will explain the situation better.

Imagine a table with the following fields

Company (A, B, C, ....)

Category (Phones, TVs, Computers,...)

Item (item1, item2, item3, ...)

Price( 100, 150, 160...)

I want to create a chart grouping information by Company

    

A                    100,000          Phones

Company
sum(Price)
Category with biggest Price in the Companysum(price) for biggest category
A100,000Phones40,000
B160,000TVs100,000

Question is:

how do I write the formula to get the column Category with biggest Price in the Company  and sum(price) for biggest category.

I have tried a lot but I am not able to create a correct formula.

Thanks

Marco

0 Replies