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: 
robinrouleur
Partner - Creator
Partner - Creator

Chart expression to lookup reference table?

Hi

I am trying to calculate a total price within a chart table when the unit price depends on two aggregated values(volume & service level).  The unit price is the same across all units so I just need a way of using the aggregated values to look up a reference table but there doesn't seem to be a chart function to do this?  "Lookup()" would be ideal but it is only available as a script function.

Can anyone suggest a suitable chart function or an alternative approach?

Robin

1 Reply
danieloberbilli
Specialist II
Specialist II

Maybe the  only() function works (...if [ExpressionTotal] = only(LookUpField)  )  , if there is one (lookup) value only else it returns false