Qlik Community

QlikView Deployment

Discussion Board for collaboration related to QlikView Deployment.

Not applicable

Disable trigger when no record found in Qvd

Hi All, I am using Qlikview 64 bit Server SR 5 for generating Qvds, Analysis Files and sending mails.

I have my analysis files A1, A2 (with 'n' no. of reports) which are dependent on main Qvd Generator file Q1.
Tasks are defined for generating report based on analysis files A1,A2 and mail is send based on trigger defined in task.

The requirement is:

Task not to be triggered when there is no record in Qvd Q1(Qvd consists of multiple tables, if no record in any one of the table then task should not get triggered)

Please suggest how to fulfill the requirement.


Thanks in advance

2 Replies
Not applicable

Disable trigger when no record found in Qvd

Hi Kumar

You can use the function NoOfRows() to evaluate if the table contains any data.

Example:

IF NoOfRows('Table')>0 THEN

Not applicable

Disable trigger when no record found in Qvd

Hi Frederik,

Thanks for your response.

My requirement is in case if any of the tables returns 0 record (by using NoOfRows), I need to disable the trigger.
So how can I disable a trigger based on the above condition?
How can I do it by script while loading data from table? or by any setting in Server?

Thanks,

Community Browser