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: 
Anonymous
Not applicable

Use chart dimension as value in set expression

Hi All,

I am trying to create a Chart for Renewal Rate based on 3 dimensions: Revenue, Year, Expiry_Year but the calculation of Renewal Rate would only be based on Expiry_Year and Revenue

I have a list box that allows me to select Expiry_Year from 2010 - 2017. If I select both 2015 and 2016, I would like to create a Chart as follows:

YearRenewal Rate
2015calc based on Expiry_Year = 2015
2016calc based on Expiry_Year = 2016

The expression I was using is sum( {<Expiry_Year=p(Year)>}Revenue) ,which isn't returning the expected results.

How do I create a Set expression that uses the current Year i.e. current row in the chart, for the Expiry_Year = {} value?

Thanks in advance.

0 Replies