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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
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

Labels (1)
1 Solution

Accepted Solutions
swuehl
Champion III
Champion III

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
Champion III
Champion III

Add this to your load script:

LOAD recno()+79999 as MissingID

Autogenerate 1000

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