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

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

find missing number in list

Hi!

i am having difficulty with finding missing numbers in a list.

for example i have Article Numbers starting with 80000.

i wish to find the missing numbers between 80000 and 80999;

i have tried using the following if statement in script without success.

If(RowNo()<>Artikelnr, RowNo()) as Missing,

Best,

Bradley

1 Solution

Accepted Solutions
swuehl
MVP
MVP

Add this to your load script:

LOAD recno()+79999 as MissingID

Autogenerate 1000

where not exists(Artikelnr,recno()+79999);

View solution in original post

1 Reply
swuehl
MVP
MVP

Add this to your load script:

LOAD recno()+79999 as MissingID

Autogenerate 1000

where not exists(Artikelnr,recno()+79999);