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

This widget could not be displayed.

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
madhubabum
Creator
Creator

How get Missing table Information ?

Hi Experts

How to Get missing Table Information ?

Please Find Attached Sample Files and Application.

How We can achieve this one ?

Thanks

This widget could not be displayed.
7 Replies
datanibbler
Champion
Champion

Hi madhu babu,

can you elaborate a bit on what type of missing information you are looking for? Fields which are not populated?

The ISTEXT() or ISNUM() or LEN() or ISNULL() functions might prove helpful in that case.

HTH

This widget could not be displayed.
pokassov
Specialist
Specialist

Hi!

FOR Each File in FileList('C:\1\*.xlsx')

let vRowsBefore=NoOfRows('Employee');

Employee:

LOAD EmpId,

     EmpName,

     EmpType,

     Sal

     

FROM

'$(File)'(ooxml, embedded labels, table is EmpDetails);

let vRowsAfter=NoOfRows('Employee');

if vRowsBefore=vRowsAfter then

Error:

  load

  '$(File)' As File,

  'Field Values Not Found' As DetailErr

  AutoGenerate (1);

end if;

ErrorQvd:

LOAD

FileName() as FileName,

'$(File)' as FilePath,

if(len('$(ScriptErrorDetails)')=0,'No Error','$(ScriptErrorDetails)') as ErrorDetails,

ReloadTime() as [Reloaded Date and Time]

FROM

'$(File)'(ooxml, embedded labels, table is EmpDetails);

next File

SET Errormode=1;

This widget could not be displayed.
madhubabum
Creator
Creator
Author

Hi  Sergey Pokasov

Thanks for you reply

Note :    let vRowsAfter=NoOfRows('Employee');


What is 'Employee' ?


This widget could not be displayed.
pokassov
Specialist
Specialist

It's a table's name.

This widget could not be displayed.
marcus_sommer

What's left unclear here: how to skip a Excel Workbook ? and here: how to find missing table information ?

- Marcus

This widget could not be displayed.
madhubabum
Creator
Creator
Author

Hi Marcus Sommer

I want Missing Error Field Details , as following

Untitled.png

Note : These values must and should associate to the Error_Files

Please find attached Application.

This widget could not be displayed.
madhubabum
Creator
Creator
Author

Hi Sergey Pokasov

Thanks For giving Solution, but i need one more information to add to Error table i.e Missing EmpDetails from file  i.e We are using other Excel file With out EmpDetails Sheet (Blank file with EmpDetails Missing), We need this as Missing EmpDetails sheet  in file.

How to Achieve this  ?

Thanks

Madhu

This widget could not be displayed.