Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
contributor_H
Contributor III
Contributor III

Nprinting send report based on trigger (filtering by date)

Hello Everyone,

I need help with below:

I have just created a report in nprinting that fetch the data from Qlik Sense for all dates, and I wanted to add 2 trigger for the report:
1 trigger will be monthly, which will send a report for the previous month only.
2sd trigger will be weekly, which will send a report for last week's data

now what's confusing for me is that, how to send 2 reports for the previous month and last week for the same report?

Labels (3)
1 Reply
ajaykakkar93
Specialist III
Specialist III

Hi,

This is possible you can simply maintain 2 Tasks for Monthly & weekly following the below steps (these are generic steps that can be used in both senerios)

  1. Create a task
  2. add your reports
  3. add your filters
    1. Weekly: 2 variables WeekStart & WeekEnd 
    2. Monthly: 2 variables MonthStart & MonthEnd
    3. The above 4 variables will be available in your Application
    4. In filters, you will create weekly & monthly filters
    5. Select your date field (Date numbers as separate field recommended)
    6. you will use expressions in both =$(vMin) <= $(vMax)
    7. change vMin & vMax with Weekly or monthly variables accordingly (mane sure dates in that should have been converted in numbers if Number field is used)
  4. add your users/groups
  5. configure your trigger
  6. add a condition if you have any

Please mark the correct replies as Solution. Regards, ARK
Profile| GitHub|YouTube|Extension|Mashup|Qlik API|Qlik NPrinting