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

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
cancel
Showing results for 
Search instead for 
Did you mean: 
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

Finding matching dimension for min value

I need a little help with this expression. (Example QVW attached). For two tables:

ShipmentId, Destination, Carrier
1, D1, B

Destination, Carrier, Rate
D1, A, 2000
D1, B, 2500
D1, C, 1500
D1, D, 1800

In a chart, I can find the lowest Rate for a ShipmentId with:

=aggr(min(Rate), Destination)

In the same chart, how can I display the Carrier associated with that lowest Rate? Somthing like:

ShipmentId Destination Carrier Rate Best Rate Best Carrier
1D1B25001500C


Thanks

Labels (1)
10 Replies
Not applicable

Thanks John…

That’s a little simpler than computing it as I did.

Don