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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

working with variable

Hi

I have problem in working with variable...the problem is i have year dimention and i want to show for example profit in the maximum of year selection... it means if I select 2009,2010,2011 , the chart show me Profit of the 2011...

thanx

sahar

Labels (1)
2 Replies
Miguel_Angel_Baeyens
Support
Support

Hello Sahar,

Try an expression like the following

Sum({< YearField = {$(=Max(YearField))} >} Profit)


"YearField" is the field that stores all values for year.

Hope this helps.

Not applicable
Author

Hi

I am biginer and tanx a lot for your help... that is working 🙂

best regard

sahar