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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Selectively display data in a pivot table

I have a data file as shown on the left, i would like to display it in a pivot table as shown on the right.

data.PNG  table.PNG

My question is how do i selectively display the price according to the Volume.

e.g. For Prod1, Cust1 and S1, there are two rows, shown as below. I only want to display the price (0.352) which has bigger volume.

example.PNG

Thank you in advance for your help!

1 Solution

Accepted Solutions
swuehl
MVP
MVP

Try something like

=FirstSortedValue(DISTINCT Price, -Volume)

as your expression with the three dimensions mentioned above.

View solution in original post

2 Replies
swuehl
MVP
MVP

Try something like

=FirstSortedValue(DISTINCT Price, -Volume)

as your expression with the three dimensions mentioned above.

Not applicable
Author

Thank you, swuehl. It works.