Qlik Community

New to Qlik Sense

If you’re new to Qlik Sense, start with this Discussion Board and get up-to-speed quickly.

Announcements
Customer & Partners, DEC. 9, 11 AM ET: Qlik Product & Strategy Roadmap Session: Data Analytics REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
michael_anywar
Creator
Creator

Fix Dimension basing on user values or certain specific values

I would like to fix the dimensions of the graph by years on the x-axis  either basing on user selection or if I can define my own values, that would also be great. AT the moment I used this:

({<Year={">=$(=min(StartYear))<=$(=max(EndYear))"}>}[GDP per capita (current US$)]) But it is not working.


If I can fix in the expression without using the StartYear and EndYear, that would be great.

Any help..? 

This would help compare either 2 years on just one specific. Will highly appreciate any help

Screen Shot 2018-05-16 at 16.51.51.png

1 Solution

Accepted Solutions
sunny_talwar

Did you forget to add a sum or avg or something similar function?

Sum({<Year = {">=$(=min(StartYear))<=$(=max(EndYear))"}>} [GDP per capita (current US$)])

View solution in original post

2 Replies
sunny_talwar

Did you forget to add a sum or avg or something similar function?

Sum({<Year = {">=$(=min(StartYear))<=$(=max(EndYear))"}>} [GDP per capita (current US$)])

View solution in original post

michael_anywar
Creator
Creator
Author

Actually are right I thought the functions did't have  any issues but the do affect. Thanks Sunny.