Qlik Community

Ask a Question

QlikView Documents

QlikView documentation and resources.

Join this live chat April 6, 10AM EST - QlikView to Qlik Sense REGISTER


Creator II
Creator II


Tape recorder functionaltity

Try to visualize your old tape recorder. If your old enough, you might remember the forward and the rewind button, so you could go forward and backward in the data on the tape.

Imaging if this is possible in QlikView.

It is!

I sometimes see QlikView sheets, where you have to select a dimension attribute and then you see all details about the attribute. This could for example be a customer sheet, where it is mandatory to select only one customer and then you see all sales details about the customer.

Here the tape recorder functionality would be nice, so we easy can move from the best performing customer to the worst. Forward or rewind with one simple click:

When I was asked to check the availability in QlikView for a functionality like this, it first sounded simple to solve, but I must admit, that this challenge took me some hours, but every minute was well spent. The result is very powerful, and today the tape recorder functionality is one of my absolute favorites.

Here is what you need to implement the tape recorder functionality in your QlikView document:
- The rank function to sort the customer by for example sales amount
- Alternates states, because the rank function do not support set analysis, so your calculation of the first, next and previous record has to be done in a separate state.
- Variable to hold the current rank number.
- Trigger on any select to calculate the current rank based on the current selection.
- Macro to select the attribute value from a calculation in a textbox.

Besides the very simple VB macro, everything is standard QlikView 11 functionality, and works in Ajax and on mobile devices.

Have fun

Labels (1)
Version history
Revision #:
1 of 1
Last update:
‎2013-03-13 01:21 PM
Updated by: