Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
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$)])

michael_anywar
Creator
Creator
Author

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