<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: send emails only when chart is not empty in Qlik NPrinting</title>
    <link>https://community.qlik.com/t5/Qlik-NPrinting/send-emails-only-when-chart-is-not-empty/m-p/1901343#M35339</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;So you have to apply the condition to the report in the publish task, not to the publish task:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ruggero_Piccoli_0-1646408897416.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/73695iD2260C2B12EC66F4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ruggero_Piccoli_0-1646408897416.png" alt="Ruggero_Piccoli_0-1646408897416.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then set the email distribution error to:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ruggero_Piccoli_1-1646408936106.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/73696i381D24ED0F3E9375/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ruggero_Piccoli_1-1646408936106.png" alt="Ruggero_Piccoli_1-1646408936106.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;With this configuration users with empty reports will not receive the email.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Ruggero&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 04 Mar 2022 15:50:44 GMT</pubDate>
    <dc:creator>Ruggero_Piccoli</dc:creator>
    <dc:date>2022-03-04T15:50:44Z</dc:date>
    <item>
      <title>send emails only when chart is not empty</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/send-emails-only-when-chart-is-not-empty/m-p/1901275#M35334</link>
      <description>&lt;P&gt;Hello&lt;BR /&gt;got an NPrinting report (Excel format in template editor)&lt;BR /&gt;the publishing task send email to a group of users; each user has his own filter defined&lt;BR /&gt;for some users the chart is empty but that user still receives email with empty excel attachment and only headers of the table appear&lt;BR /&gt;how can I make NPrinting not to send email to the user when the report is empty?&lt;BR /&gt;kindly advise&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2022 14:42:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/send-emails-only-when-chart-is-not-empty/m-p/1901275#M35334</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2022-03-04T14:42:29Z</dc:date>
    </item>
    <item>
      <title>Re: send emails only when chart is not empty</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/send-emails-only-when-chart-is-not-empty/m-p/1901290#M35335</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You could use conditions that are explained in details at&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/nprinting/May2021/Content/NPrinting/ReportsDevelopment/Conditions.htm" target="_blank"&gt;https://help.qlik.com/en-US/nprinting/May2021/Content/NPrinting/ReportsDevelopment/Conditions.htm&lt;/A&gt;. There are also some old conversations about them here in the community.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Ruggero&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2022 15:03:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/send-emails-only-when-chart-is-not-empty/m-p/1901290#M35335</guid>
      <dc:creator>Ruggero_Piccoli</dc:creator>
      <dc:date>2022-03-04T15:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: send emails only when chart is not empty</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/send-emails-only-when-chart-is-not-empty/m-p/1901339#M35337</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ali_hijazi_0-1646408289953.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/73694iE6324C83A2565D8D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ali_hijazi_0-1646408289953.png" alt="ali_hijazi_0-1646408289953.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I've added the above rule; but this means if the report as a whole contains values then run; am I wrong?&lt;BR /&gt;what I want is that if the filters on each user return empty report then do not send the email to that particular user&lt;BR /&gt;with this condition added some users still get emails containing an attachment with empty chart&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2022 15:50:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/send-emails-only-when-chart-is-not-empty/m-p/1901339#M35337</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2022-03-04T15:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: send emails only when chart is not empty</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/send-emails-only-when-chart-is-not-empty/m-p/1901343#M35339</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;So you have to apply the condition to the report in the publish task, not to the publish task:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ruggero_Piccoli_0-1646408897416.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/73695iD2260C2B12EC66F4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ruggero_Piccoli_0-1646408897416.png" alt="Ruggero_Piccoli_0-1646408897416.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then set the email distribution error to:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ruggero_Piccoli_1-1646408936106.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/73696i381D24ED0F3E9375/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ruggero_Piccoli_1-1646408936106.png" alt="Ruggero_Piccoli_1-1646408936106.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;With this configuration users with empty reports will not receive the email.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Ruggero&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2022 15:50:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/send-emails-only-when-chart-is-not-empty/m-p/1901343#M35339</guid>
      <dc:creator>Ruggero_Piccoli</dc:creator>
      <dc:date>2022-03-04T15:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: send emails only when chart is not empty</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/send-emails-only-when-chart-is-not-empty/m-p/1901358#M35340</link>
      <description>&lt;P&gt;still some users receive emails with reports without data attached&lt;/P&gt;
&lt;P&gt;first I created the condition as follows:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ali_hijazi_0-1646410791485.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/73697i4065F96F6FC256AD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ali_hijazi_0-1646410791485.png" alt="ali_hijazi_0-1646410791485.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;then I added the condition to the report in the task-&amp;gt;report as you told me&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ali_hijazi_1-1646410861118.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/73698i5D84E97094B4D5B1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ali_hijazi_1-1646410861118.png" alt="ali_hijazi_1-1646410861118.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;in the settings:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ali_hijazi_2-1646410943832.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/73699i75FB11E21EFBF8A9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ali_hijazi_2-1646410943832.png" alt="ali_hijazi_2-1646410943832.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2022 16:23:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/send-emails-only-when-chart-is-not-empty/m-p/1901358#M35340</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2022-03-04T16:23:07Z</dc:date>
    </item>
    <item>
      <title>Re: send emails only when chart is not empty</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/send-emails-only-when-chart-is-not-empty/m-p/1901478#M35345</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/216"&gt;@ali_hijazi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you suppressing 0 values in the Qlik Sense table (used for condition evaluation) settings ?&lt;/P&gt;
&lt;P&gt;The process is:&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;NPrinting starts task and applies task filters and task conditions (if there are any)
&lt;UL&gt;
&lt;LI&gt;Starts generating report (applies report filters if there are any)
&lt;UL&gt;
&lt;LI&gt;Checks user filters and applies them&lt;/LI&gt;
&lt;LI&gt;Checks condition for those&amp;nbsp; and all earlier applied filters. This means it checks if the condition is met. If you set the condition on one particular chart that condition is checked against only that one particular chart and not any others used in the report.&lt;/LI&gt;
&lt;LI&gt;regarding comment i made around "suppress 0 values" - based on my experience table has to return no records, meaning that if there is a row with nulls and 0 values then condition will not be met as there is still a record in it.&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Further investigation of your issue would require us to:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;look at your chart dimensions and expressions (the one used for condition evaluation) + all settings used in it.&lt;/LI&gt;
&lt;LI&gt;look at filters for users which should not receive report but still do receive it&lt;/LI&gt;
&lt;LI&gt;apply those filters directly in Qlik Sense and check if they are applied properly&lt;/LI&gt;
&lt;LI&gt;check if user filters are properly configured - it is possible that your user filters are disregarded maybe because of wrong filter datatype used?&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;cheers&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2022 22:52:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/send-emails-only-when-chart-is-not-empty/m-p/1901478#M35345</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2022-03-04T22:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: send emails only when chart is not empty</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/send-emails-only-when-chart-is-not-empty/m-p/1901525#M35346</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/1326"&gt;@Lech_Miszkiewicz&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;yes I suppressed the zero values in the chart;&lt;BR /&gt;and users who meeting the filter condition get emails with data in the attached chart&lt;BR /&gt;but users whose filters return no data still receive emails with the attached chart empty&lt;/P&gt;
&lt;P&gt;following is a screen shot of an attachment with empty rows and the next for an attachment whose user's filter return data&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ali_hijazi_0-1646490896011.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/73731i363BB9CD9FFC8610/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ali_hijazi_0-1646490896011.png" alt="ali_hijazi_0-1646490896011.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ali_hijazi_1-1646490941645.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/73732i1175A270CC5DC070/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ali_hijazi_1-1646490941645.png" alt="ali_hijazi_1-1646490941645.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Mar 2022 14:36:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/send-emails-only-when-chart-is-not-empty/m-p/1901525#M35346</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2022-03-05T14:36:36Z</dc:date>
    </item>
    <item>
      <title>Re: send emails only when chart is not empty</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/send-emails-only-when-chart-is-not-empty/m-p/1901743#M35347</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I replicate your scenario in my installation and it works as expected: the user that doesn't met the condition doesn't receive any email. Instead the user that met the condition receive the report.&lt;/P&gt;&lt;P&gt;If I add an unconditioned report the user that doesn't met the condition receives an email with only one report and no error messages.&lt;/P&gt;&lt;P&gt;So I think you have something hidden in the report that cause its generation. Check the Task Executions page and you will see something like:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ruggero_Piccoli_0-1646653117057.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/73759iEDF403BF10F9E10D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ruggero_Piccoli_0-1646653117057.png" alt="Ruggero_Piccoli_0-1646653117057.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;for users that should not met the condition.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Ruggero&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Mar 2022 11:39:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/send-emails-only-when-chart-is-not-empty/m-p/1901743#M35347</guid>
      <dc:creator>Ruggero_Piccoli</dc:creator>
      <dc:date>2022-03-07T11:39:01Z</dc:date>
    </item>
  </channel>
</rss>

