Skip to main content
Announcements
See why Qlik is a Leader in the 2024 Gartner® Magic Quadrant™ for Analytics & BI Platforms. Download Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Set Analysis - Variable - Line Chart

In the Qlikview file attached here, I display a line chart with dimension "Year" limited to first 5 values. I want a variable "tempYear" to be updated with the rightmost (highest) value of the year displayed in the line chart. Currently I've hard coded the value of variable "tempYear" to 2005. But I want it to get updated if dimension limit is changed. For example, if dimension limit is changed to 6, the variable "tempYear" should be udated to 2006 (rightmost value of line chart in this case).

Please help me in achieving this.

1 Reply
fernando_tonial
Employee
Employee

Hi, You need change the variable tempYear

insted

tempYear=2005

tempYear = =2000+limit

See my example.

Best Regards

Tonial.

Don't Worry, be Qlik.