Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
qv_testing
Specialist II
Specialist II

What is the difference between ValueList() and ValueLoop()?

Hi....

What is the difference between ValueList() and ValueLoop()?

please explain with examples..............

3 Replies
danielrozental
Master II
Master II

ValueList just lists some values to use as calculated dimension

eg valuelist('a','b',c') will list values a, b and c.

ValueLoop will generate a series of numbers starting with the first parameter, ending with 2nd and having the 3rd as step.

ValueLoop(1,9,2) will generate values 1, 3, 5, 7, 9

ValueLoop(1,6,1) will generate values 1, 2, 3, 4, 5, 6

valuelist(1,2,3,4,5,6) is equivalent to ValueLoop(1,6,1)

Not applicable

Hi Danial,

in real time how to use. i mean what purpose.....

Thanks...