QlikView: Creating a trend chart for stock data

Some time ago, I was looking for some ways to display stock data, and then I came across with the chart below from Google finance. What I like about this chart is the possibility of filter the range of data that you want to analyze(1) keeping and overview of the entire history (2). So I decided to focus in these two features and try to elaborate something similar in QlikView.

The Importance of the Surrogate Key in a well design data model

A couple of years ago, when I started working in the data warehouse world, the company I was working  for hired a consultant firm to help us to start building our data warehouse. And, as part of the contract, the consultants would also deliver a set of dashboards and reports. When the first set of reports came to us, we decided to take a look on the code (after all the product being used by the company was completely new for us, and we thought it was a good way to learn more from the experts). After having checked the scripts that generate and maintained the employee dimension, we noticed that the dimension key was built concatenating the date when the record was created and the employee id, which indeed is not a good practice (shame on you experts).