Qlik Community

Qlik NPrinting Discussions

Discussion Board for collaboration on Qlik NPrinting.

Announcements
IMPORTANT: PLEASE READ - Labels will be required in the NPrinting forum starting on Friday September 26, 2019: Click here for details and instructions.
baarathi
Contributor III

NPrinting Task Scheduling

I have the following scenario ( i'm using Qlik Sense and NPrinting version 2018 November)

I have created a NPrinting Report name Sales under the NPrinting App SalesDashboard.

I am have 2 filter for SalesDashboard. Filter 1 : Country = India and Filter 2: Country = Australia.

I'm scheduling the report to send mail to User1 and User2. I want a pdf file separate for India and Australia. Should I create two task or is it possible to perform the above scenario in single Task itself ?

2 Solutions

Accepted Solutions
Highlighted
pradosh_thakur
Honored Contributor II

Re: NPrinting Task Scheduling

1: create report level filter for the two countries
2: Create cycle on countries

It will export 2 reports
Learning never stops.
Support
Support

Re: NPrinting Task Scheduling

Hi Baarathi,

Yes it's possible in a single Task. You have:

Filter1:  Country={India}

Filter2: Country={Australia}

Add Filter1 as a User filter for User1 and Filter2 as a User filter for User2

E.g. for User1:

2019-02-01 09_13_26-Window.png

Now simply add the report to the Task, include both Users as recipients, compose the email template etc. and run it. No need for any other filtering (on Task/Report etc.) or Cycling. NPrinting will apply User filters automatically.

HTH - Daniel.

 

8 Replies
pradosh_thakur
Honored Contributor II

Re: NPrinting Task Scheduling

Use the cycle options on Country, which will create different pdf for the countries. You may want to check before doing this if you have more countries in the country field.
Learning never stops.
baarathi
Contributor III

Re: NPrinting Task Scheduling

@pradosh_thakur I have 100 countries and I want schedule  export pdf only for 2 countries.

Highlighted
pradosh_thakur
Honored Contributor II

Re: NPrinting Task Scheduling

1: create report level filter for the two countries
2: Create cycle on countries

It will export 2 reports
Learning never stops.
baarathi
Contributor III

Re: NPrinting Task Scheduling

@pradosh_thakur Thank You Pradosh It works fine. But there is one more complexity in this I want particular Country's sales to sent to a particular user.

For Example: Sales of Country = India should be mailed to User1

and Sales of Country = Australia should be mailed to User2.

User2 Should not recieve the pdf of India's Sales and vice versa.

In this scenario possible in Single Task ? 

Support
Support

Re: NPrinting Task Scheduling

Hi Baarathi,

Yes it's possible in a single Task. You have:

Filter1:  Country={India}

Filter2: Country={Australia}

Add Filter1 as a User filter for User1 and Filter2 as a User filter for User2

E.g. for User1:

2019-02-01 09_13_26-Window.png

Now simply add the report to the Task, include both Users as recipients, compose the email template etc. and run it. No need for any other filtering (on Task/Report etc.) or Cycling. NPrinting will apply User filters automatically.

HTH - Daniel.

 

pradosh_thakur
Honored Contributor II

Re: NPrinting Task Scheduling

Hi Baarathi,

Daniel has described it perfectly. That will do your job.

Regards
Pradosh
Learning never stops.
baarathi
Contributor III

Re: NPrinting Task Scheduling

@Daniel_Jenkins Thank You Daniel. It made my work much easier.

baarathi
Contributor III

Re: NPrinting Task Scheduling

@pradosh_thakur Thank you Pradosh. As I'm a beginner in NPrinting, your suggestion was very much helpful.