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

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
cancel
Showing results for 
Search instead for 
Did you mean: 
Lamharhar
Contributor
Contributor

QV NP condition not working as excepted

Hi Team,

I have a problem related to condition on QV NP (Qlik NPrinting May 2021 SR5) : 

I created a NP task for a QV App, i am trying to send report as pdf attachment to all customer have Amount >= 100K,

I created a variable vSF = sum(Amount) in the QV App, i created a condition NP vSF >= (Constant) 100000, and then i added this condition :

1st test : in the condition of the task

2nd test : in the condition of task's report

I tested it for 2 customers (Customer A with Amount >=100k and Customer B with Amount <100k), but i received 2 email

1st mail to Customer A with the attachment

2d mail to Customer B with Error (attached image) : Some reports failed to generate

I need to stop sending this kind of email to customer who have Amount < 100K

 

Thanks in advance.

 

Lamharhar_1-1682270130316.png

 

 

Lamharhar_0-1682269864331.png

 

Labels (1)
  • Other

1 Solution

Accepted Solutions
Ruggero_Piccoli
Support
Support

Hi,

I think you added the condition to a report in a publish task, not to the task. For the details refer to https://help.qlik.com/en-US/nprinting/May2022/Content/NPrinting/ReportsDevelopment/Conditions.htm

Than you have to change the following setting:

Ruggero_Piccoli_0-1682326567070.png

Explained in details at: https://help.qlik.com/en-US/nprinting/May2022/Content/NPrinting/AdministeringQVNprinting/Admin-setti...

Best Regards,

Ruggero



Best Regards,
Ruggero
---------------------------------------------
When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads with a LIKE if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads with LIKEs if you feel additional info is useful to others.

View solution in original post

2 Replies
Ruggero_Piccoli
Support
Support

Hi,

I think you added the condition to a report in a publish task, not to the task. For the details refer to https://help.qlik.com/en-US/nprinting/May2022/Content/NPrinting/ReportsDevelopment/Conditions.htm

Than you have to change the following setting:

Ruggero_Piccoli_0-1682326567070.png

Explained in details at: https://help.qlik.com/en-US/nprinting/May2022/Content/NPrinting/AdministeringQVNprinting/Admin-setti...

Best Regards,

Ruggero



Best Regards,
Ruggero
---------------------------------------------
When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads with a LIKE if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads with LIKEs if you feel additional info is useful to others.
Digvijay_Singh

I think advance filter could be a good way to handle this, Use this for your cycle field so that report won't be generated if advance filter condition is false. here is the details - 

https://community.qlik.com/t5/Member-Articles/Examples-of-Advanced-Search-Filters/ta-p/1594779

Thanks,