Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
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