Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Locate missing values automatically after recharging

Hello,

I have several qvw which are reloaded one after the other or in parallel and I try to highlight automatically the presence of the value ' Anomaly mapping ' generated during applymap.

I wish to make it most automatically possible, for example by scanning every qvw of a directory to find this value in the whole of the data. The objective is to locate quickly the anomaly to go back to the mapping in cause and update the data sources before reloading.

Is there an application to make it or a macro?

Beforehand thank you.

Christophe

1 Reply
Clever_Anjos
Employee
Employee

Pseudo code:

t:

mapping LOAD * FROM YourMap;

table:

LOAD

    applymap('t',afield,'**') as afield

    otherfields

from yourqvd(qvd);

temp:

LOAD count(afield) as q resident where afield = '*';

if noofrows('temp')> 0 then

    temperror:

   LOAD afield resident where afield = '*';

   store temperror into temperror.csv(txt);

endif