Qlik Community

Ask a Question

Qlik NPrinting Discussions

Discussion Board for collaboration on Qlik NPrinting.

Announcements
Join us March 10th, 7 Ways Modern Analytics Can Help You Take Smarter Action. REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
deeksha_yekkant
Partner
Partner

NPrinting 19 - Filters and Groups for a single User

Hi All,

We need to send 2 reports from one app to the users.

Each user is assigned to 2 groups for example salesEurope and SalesTrigger.

We need to apply a user filter for one of the report to work .For the other report the user filter should be removed.

How to add a same user to different groups one with filter and the other without any filters.

Report 1 : User1 -  - salesEurope

Report 2 : User1 - Filter 1 - SalesTrigger

Labels (1)
1 Solution

Accepted Solutions
Ruggero_Piccoli
Employee
Employee

Hi,

You could:

  1. create two distinct apps, call App1 and App2
  2. create Connection1 into App1 and Connection2 into App2 both to the same Qlik Sense app
  3. create Filter1 into App1 and Filter2 in App2
  4. associate both Filter1 and Filter2 to the user
  5. create Report1 into App1
  6. create Report2 into App2
  7. create Task1 that sends Report1 to the user. Report1 will be generated with Filter1 and Filter2 will be ignored.
  8. create Task2 that sends Report2 to the user. Report2 will be generated with Filter2 and Filter1 will be ignored.    

This method avoid to import the user every time you want to change the filter. 

Don't try to duplicate a connection inside an app. It will generate a filter error.

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
Frank_S
Support
Support

Group based filters are not available in NPrinting (Also I'm not exactly certain what your requirement is.)...

How to add a same user to different groups one with filter and the other without any filters.

  • Report 1 : User1 -  - salesEurope                    
  • Report 2 : User1 - Filter 1 - SalesTrigger

Are you saying you want to have salesEurope filter for user 1 on report 1 and SalesTrigger as a user filter on report 2? Then execute the report with a task filter enabled for one group and no task filters on the 2nd group?

Note that it's not possible do switch user or any NP filters dynamically based on a set of conditions etc.

Let me try and anticipate what you are trying to achieve here:

  • Create two tasks
  • Task 1 (add user one to group 1 and add group 1 to the task, add report 1 to the task): Task filter is enabled
  • *Update your recipient import file with SalesTrigger user filter and run the recipient import to update the user filters.
  • Task 2 (add user one to group 2 and add group 2 to the task, add report 2 to the task): Task filter is removed

*If you need to change the user filter in order to filter recipient/user specific data differently, then you might try utilizing the recipient import process with the 'update filters' check box and update the recipient file with the updated filters. (Note: it is important to use the same recipient file and file name and change the contents of the file in order to update the user filters as needed. Do not create a separate import task to update recipient (filters etc) information.

Keep in mind the filter processing rules found here as well: https://help.qlik.com/en-US/nprinting/June2019/Content/NPrinting/ReportsDevelopment/Static-dynamic-f... 

https://help.qlik.com/en-US/nprinting/June2019/Content/NPrinting/DeployingQVNprinting/Import-Users-F...

The recipient import file can be downloaded from the 'examples.zip' link found on this pagehttps://help.qlik.com/en-US/nprinting/June2019/Content/NPrinting/Examples/Examples.htm

Again, I'm not certain what you are actually trying to do but hopefully the information provided above gives you some insight how to achieve your requirement. Test thoroughly on a small sample set of users/groups before introducing widely in a production environment.

We are just 'like' you and like to be liked when providing a helpful answer. You may also press the 'Solution Accepted' button if an answer provided resolves your question or issue... Cheers!
Ruggero_Piccoli
Employee
Employee

Hi,

You could:

  1. create two distinct apps, call App1 and App2
  2. create Connection1 into App1 and Connection2 into App2 both to the same Qlik Sense app
  3. create Filter1 into App1 and Filter2 in App2
  4. associate both Filter1 and Filter2 to the user
  5. create Report1 into App1
  6. create Report2 into App2
  7. create Task1 that sends Report1 to the user. Report1 will be generated with Filter1 and Filter2 will be ignored.
  8. create Task2 that sends Report2 to the user. Report2 will be generated with Filter2 and Filter1 will be ignored.    

This method avoid to import the user every time you want to change the filter. 

Don't try to duplicate a connection inside an app. It will generate a filter error.

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