Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Bhuvi
Partner - Contributor III
Partner - Contributor III

Numbers

Hello,

have to create set of increment numbers in Qlik

Data

Input Output
1 1
2 1
3 1
4 1
5 1
6 2
7 2
8 2
9 2
10 2
Labels (1)
1 Solution

Accepted Solutions
Or
MVP
MVP

Should have been Ceil(), not Floor(). But you could also just +1 the Floor() value.

View solution in original post

3 Replies
Or
MVP
MVP

If this is all you need, just load these numbers in an inline load?

Otherwise, something like

Load Input, Floor(Input/5) as Output

From SomeTable;

Bhuvi
Partner - Contributor III
Partner - Contributor III
Author

I have 100 lines of data so Inline cannot be done.

Floor(Input/5) gives 0 value also but in this case it should start from 1

Or
MVP
MVP

Should have been Ceil(), not Floor(). But you could also just +1 the Floor() value.