Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Bubble Chart Animation

I have a table with Columns as City, Year and Population Growth of City relative to previous Year. I want to create animation in bubble chart in which size of bubble represents poplation of a city corresponding to different Years. Since, I just have the population growth instead of total population till a particular year stored in the table, I would want to add the Growth number of previous years so as to give an animation with increasing bubble's size. Size of bubbles represents population, which increases with time. And different bubbles represent different cities. Please help me in writing the expression for calculating the sum of all previous years population growth dynamically during animation.


Table looks like this. Assume the population of Cities before 2001 was 0


YearCityIncrease in Population
2001A1000
2001B2000
2001C1500
2002A1500
2002B1600
2002C2000
2003A1800
2003B2500
2003C1700


Bubble size for City A should depict 1000 for year 2001, (1000 + 1500 = 2500) for year 2002 and so on for all cities.

Problem is, how to calculate sum of all previous years' values. PLEASE HELP....!!!!

10 Replies
amit_saini
Master III
Master III

Cheers

Thanks,

AS