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: 
Amit_B
Creator II
Creator II

NP17 - A problem with filters on a user in the same app

Hi all,

My client created 2 filters on the same user in the same app, each filter is for a different report. This of course created a problem with the reports because in each report the data was filtered based on 2 filters and not on one.
To solve this in the simple way, I would create a new app with the same connections, and with the relevant report and filter.

Is there a way to solve this when the reports and filters are belong to the same app?
For example, create an additional filter that, based on the name of the report, will select the correct filter.
Something like this:
= If(ReportName = 'Report1', 'Filter1Name', 'Filter2Name')

Thanks.

Labels (3)
5 Replies
Parthiban
Creator
Creator

I think you are asking in Qlik NPrinting,

Actually you create a 2 filters for same user for 2 different reports, that time you have to create a 2 task in publish task and add a respective filter in 2 tasks (like filter in publish task).

Amit_B
Creator II
Creator II
Author

Why set a filter on the task and not on the user?
These are filters on different fields that appear in the fact table.

Parthiban
Creator
Creator

If you use 2 filters in user from same application means it will reflect 2 filters at a time(like 1 filter apply and output of the 1st filter is the input of the 2nd filter and then 2nd filter apply) you didn't get proper output from this.. that's why use filter in publish task.

Ruggero_Piccoli
Support
Support

Hi,

When creating a new conversation in the community please invest the time needed also to add the label with the exact version you are using. If you are using Qlik NPrinting 17.0 you have to upgrade to a supported version. The answer could depend on the version link in your case.

You can also create two connections on the same Qlik NPrinting app to the same Qlik Sense app and then create a filter for each connection. Of course each report has to use objects from the same connection used to create related filters. You create Connection1, Report1 with objects from Connection1 and filters for users by using fields from Connection1. Then you do the same for Connection2. 

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.
Amit_B
Creator II
Creator II
Author

Thanks. At the end the client created a new app.