This is a good idea and I indeed found and example in QlikView "Help". However, when I try to use it, exactly as the example shows, it doesn't give me the expected results. It doesn't go over the range of records but only on the first record. I opened a bug at Support but do you know if it's working? do you have a working example?