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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
sujeetsingh
Master III
Master III

Automated Script

I need a automated script for reload in Qlikview.

i have a Menu table :

Here i have to check the presence of a brand LEVIS

LEVISCheck:

select  distinct Brand_Name from MenuTable

where Brand_Name='LEVIS';

Now If the Brand name exsist then i have to load the LEVIS Dictionary table.

------------------------CHECK SCRIPT------------

Let RowCount=NoOfRows('LEVISCheck');

If '$(RowCount)'<>'0' THEN

------------------------------------------------------

LevisDetails:

select ID,ProductNo,order ,Stock,Price

from LEVIS_Data;

end if;

Now in case there is no LEVIS Brand then the error comes that Table Not found .

How to avoid this error.

11 Replies
sujeetsingh
Master III
Master III
Author

Jagan ,

I do not want to use this function in .

Well I am now going for macro.

thank You guys for your valuable reply

nilesh_gangurde
Partner - Specialist
Partner - Specialist

Sujeet

For your information qlikview server wont excecute the macro, hence if you are planing to schedule the exctractor then it will not work.

-Nilesh