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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Referencing an Expression in another Expression

I'm trying to create a stacked bar chart from a table with the following columns:

  • Customer
  • Time
  • Exposure
  • Exposure_Limit


Customer is defined as a Dimension.

Max(Exposure) is defined as an Expression.

How can one return the minimum Exposure_Limit for each Customer/Max(Exposure) pair.

Thank you,

Ben

1 Solution

Accepted Solutions
Not applicable
Author

Thank you to gorombel for this technique, which he posted here originaly.

I believe this expression should do the trick:

Min({<Exposure={"$(=Max(Exposure))"}>} Exposure_Limit)

A full QV file with the solution is attached.

View solution in original post

3 Replies
yblake
Partner - Creator II
Partner - Creator II

you can get a calculated dimension with aggr(max(exposure),customer)

Not applicable
Author

Thank you to gorombel for this technique, which he posted here originaly.

I believe this expression should do the trick:

Min({<Exposure={"$(=Max(Exposure))"}>} Exposure_Limit)

A full QV file with the solution is attached.

Not applicable
Author

Thanks for the help.