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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

identfiy missing numbers in a series

hi i have the following scenario

i load in a list of article numbers between a intervall 1-10.

1

2

4

6

8

9

is there anyway in Qlikview you can identify that the missing numbers in the series?

ie. 3, 5, 7,10

Best

Brad

1 Solution

Accepted Solutions
tresesco
MVP
MVP

Several ways would be there. You can try something like:

Load

          YourData,

          If(RowNo()<>YourData, RowNo()) as MissingData

From  <>  ;

You might have to add some offset value to Rowno()/RecNo() if the data is not starting with 1.

View solution in original post

3 Replies
tresesco
MVP
MVP

Several ways would be there. You can try something like:

Load

          YourData,

          If(RowNo()<>YourData, RowNo()) as MissingData

From  <>  ;

You might have to add some offset value to Rowno()/RecNo() if the data is not starting with 1.

Not applicable
Author

Thanks for the advice works great.

regarding offset.

for example with the value starting from 1001, how is the offset set in the script?

Best,

Brad

tresesco
MVP
MVP

then try this:

Load

          YourData,

          If((RowNo()+1000)<>YourData, (RowNo()+1000)) as MissingData

From  <>  ;