Skip to main content
Announcements
Defect acknowledgement with Nprinting Engine May 2022 SR2, please READ HERE
cancel
Showing results for 
Search instead for 
Did you mean: 
tom2qlik
Creator
Creator

OR Operator as Filter in Nprint

Hi All,

I have three filters I want to apply to an NPrint job.

I'm wondering is it possible to apply an AND + OR operator between these two filters?

Filters look like:

(Level = 1

and Status = Live)

OR

Status = Delayed

I haven't found anything regarding it on the community.

Thanks,

Tom

1 Solution

Accepted Solutions
Ruggero_Piccoli
Support
Support

Hi Tom,

In NPrinting you can create a filter with Level = 1 and Status = Live, another filter with Status = Delayed but when you add both NPrinting filters to a report the operator is an AND and it is not possible to transform it into an OR.

Workarounds could be:

- create a new field in the reload script that is true when the condition is verified and create the NPrinting filter based on this new field

- create a new chart that shows only the data rows that satisfy the condition. Note that NPrinting supports hide charts saved on visible sheets.

In both cases you need to modify the data source.

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 as HELPFUL if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads as HELPFUL if you feel additional info is useful to others.



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 Tom,

In NPrinting you can create a filter with Level = 1 and Status = Live, another filter with Status = Delayed but when you add both NPrinting filters to a report the operator is an AND and it is not possible to transform it into an OR.

Workarounds could be:

- create a new field in the reload script that is true when the condition is verified and create the NPrinting filter based on this new field

- create a new chart that shows only the data rows that satisfy the condition. Note that NPrinting supports hide charts saved on visible sheets.

In both cases you need to modify the data source.

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 as HELPFUL if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads as HELPFUL if you feel additional info is useful to others.



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.
tomdon14
Contributor III
Contributor III

Hello - is creating an OR condition still not possible in NPrinting, possibly using the "Advanced search" option? 

I'm looking to create a filter that will show data for country=China only if Month-Year is > Oct-2020 but show data for all other countries regardless of Month-Year. Thanks.