<?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: Setting chart-based conditions with empty table in Qlik NPrinting</title>
    <link>https://community.qlik.com/t5/Qlik-NPrinting/Setting-chart-based-conditions-with-empty-table/m-p/2497365#M42376</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/58383"&gt;@David_Friend&lt;/a&gt;&amp;nbsp;,&amp;nbsp;thanks for the answer, I have it set the other way&amp;nbsp; in case of an error it should not generate a report.&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/1326"&gt;@Lech_Miszkiewicz&lt;/a&gt;&amp;nbsp;thanks, your answer helped a lot.&lt;BR /&gt;I corrected the condition in the report (and task).&lt;BR /&gt;I removed Include zero values in Data handling, and I added a filtr for flag/variable that shows errors//nulls that I know are there in data.&lt;/P&gt;
&lt;P&gt;Report now works correctly, if there are new "errors" it is sent, if there are no new errors it is not sent:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sebastian_Dec_0-1733921419379.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/175566iF8D442C7F0ACD881/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sebastian_Dec_0-1733921419379.png" alt="Sebastian_Dec_0-1733921419379.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 11 Dec 2024 12:50:26 GMT</pubDate>
    <dc:creator>Sebastian_Dec</dc:creator>
    <dc:date>2024-12-11T12:50:26Z</dc:date>
    <item>
      <title>Setting chart-based conditions with empty table</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Setting-chart-based-conditions-with-empty-table/m-p/2497136#M42373</link>
      <description>&lt;P&gt;Hi, I want to set&amp;nbsp;chart-based conditions to Qlik Nprinting (May 2021 SR2&amp;nbsp;&lt;SPAN class="ng-scope"&gt;Version: 21.14.5.0).&lt;BR /&gt;The report is still being sent with empty results, I don't know what I'm doing wrong, maybe someone can point me to the error.&lt;BR /&gt;I read:&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/nprinting/June2019/Content/NPrinting/ReportsDevelopment/Conditions.htm" target="_blank"&gt;https://help.qlik.com/en-US/nprinting/June2019/Content/NPrinting/ReportsDevelopment/Conditions.htm&lt;/A&gt;&amp;nbsp;but&amp;nbsp;&lt;SPAN&gt;It's possible that I didn't understand something.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;I want to make a report showing deficiencies for the dictionary-key -&amp;gt;&amp;nbsp;but if there are no results as in this example then it should not be raported.&lt;/P&gt;
&lt;P&gt;I have table in Qlik Sense:&lt;BR /&gt;(in my opinion there in no value in table in week 49)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sebastian_Dec_0-1733843014258.png" style="width: 581px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/175499i043E0C40FE117962/image-dimensions/581x54?v=v2" width="581" height="54" role="button" title="Sebastian_Dec_0-1733843014258.png" alt="Sebastian_Dec_0-1733843014258.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I set conditions in&amp;nbsp;Nprinting:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sebastian_Dec_1-1733843156494.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/175500i1036D73686590FE6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sebastian_Dec_1-1733843156494.png" alt="Sebastian_Dec_1-1733843156494.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Object ID for table is 02694a79-86f9-4d44-a2c2-b3282aa5e752&lt;BR /&gt;Nprinting&amp;nbsp;allows you to select a table, so I believe that table is a chart.&lt;/P&gt;
&lt;P&gt;Unfortunately, the report comes with an empty table, even though the conditions are not met:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sebastian_Dec_2-1733843437416.png" style="width: 653px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/175501iDC99AFC3D4332CC5/image-dimensions/653x49?v=v2" width="653" height="49" role="button" title="Sebastian_Dec_2-1733843437416.png" alt="Sebastian_Dec_2-1733843437416.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If I remove the filter for weeks and there are values ​​in the table, I will also get data:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sebastian_Dec_4-1733843593917.png" style="width: 646px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/175503i94544D9D3BF15884/image-dimensions/646x42?v=v2" width="646" height="42" role="button" title="Sebastian_Dec_4-1733843593917.png" alt="Sebastian_Dec_4-1733843593917.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Conditions in the report:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sebastian_Dec_3-1733843535146.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/175502iB87DA606C31B228B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sebastian_Dec_3-1733843535146.png" alt="Sebastian_Dec_3-1733843535146.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;How can I make the table completely empty?&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;There is no data in the table only because of the measure, if I delete it the data will appear&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="cpp"&gt;Sum({&amp;lt;ERROR={'0'}, KEY={'0'}&amp;gt;} [Sells])&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;For example, is it better to make a completely new table with empty values by Resident and base the data in the table on it?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2024 15:19:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Setting-chart-based-conditions-with-empty-table/m-p/2497136#M42373</guid>
      <dc:creator>Sebastian_Dec</dc:creator>
      <dc:date>2024-12-10T15:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: Setting chart-based conditions with empty table</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Setting-chart-based-conditions-with-empty-table/m-p/2497143#M42374</link>
      <description>&lt;P&gt;What do you have set in the report?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="David_Friend_0-1733845911401.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/175504iFC3A9CD9B9EB3988/image-size/medium?v=v2&amp;amp;px=400" role="button" title="David_Friend_0-1733845911401.png" alt="David_Friend_0-1733845911401.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2024 15:52:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Setting-chart-based-conditions-with-empty-table/m-p/2497143#M42374</guid>
      <dc:creator>David_Friend</dc:creator>
      <dc:date>2024-12-10T15:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: Setting chart-based conditions with empty table</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Setting-chart-based-conditions-with-empty-table/m-p/2497206#M42375</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/215085"&gt;@Sebastian_Dec&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are 2 obvious things:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;you are not setting condition on the report!!! Based on your screenshot you are setting it on TASK which means that any report, user or object filters are not applied at the time when condition is evaluated. Condition set on the report should be done here:
&lt;OL&gt;
&lt;LI&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Lech_Miszkiewicz_1-1733869289962.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/175531i06DE42A0579914C4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Lech_Miszkiewicz_1-1733869289962.png" alt="Lech_Miszkiewicz_1-1733869289962.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Second thing is that you probably still have 0 values shown!&amp;nbsp;&lt;/SPAN&gt;You have to disable it there in the chart ljust like below:
&lt;OL&gt;
&lt;LI&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Lech_Miszkiewicz_2-1733869493311.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/175532iAA698F5F9F0252EA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Lech_Miszkiewicz_2-1733869493311.png" alt="Lech_Miszkiewicz_2-1733869493311.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once you confirm that both things are done let us know how you go.&lt;/P&gt;
&lt;P&gt;Cheers.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;:&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2024 22:25:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Setting-chart-based-conditions-with-empty-table/m-p/2497206#M42375</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2024-12-10T22:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: Setting chart-based conditions with empty table</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Setting-chart-based-conditions-with-empty-table/m-p/2497365#M42376</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/58383"&gt;@David_Friend&lt;/a&gt;&amp;nbsp;,&amp;nbsp;thanks for the answer, I have it set the other way&amp;nbsp; in case of an error it should not generate a report.&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/1326"&gt;@Lech_Miszkiewicz&lt;/a&gt;&amp;nbsp;thanks, your answer helped a lot.&lt;BR /&gt;I corrected the condition in the report (and task).&lt;BR /&gt;I removed Include zero values in Data handling, and I added a filtr for flag/variable that shows errors//nulls that I know are there in data.&lt;/P&gt;
&lt;P&gt;Report now works correctly, if there are new "errors" it is sent, if there are no new errors it is not sent:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sebastian_Dec_0-1733921419379.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/175566iF8D442C7F0ACD881/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sebastian_Dec_0-1733921419379.png" alt="Sebastian_Dec_0-1733921419379.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2024 12:50:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Setting-chart-based-conditions-with-empty-table/m-p/2497365#M42376</guid>
      <dc:creator>Sebastian_Dec</dc:creator>
      <dc:date>2024-12-11T12:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: Setting chart-based conditions with empty table</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Setting-chart-based-conditions-with-empty-table/m-p/2497375#M42377</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/215085"&gt;@Sebastian_Dec&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So in your case which one was it?&lt;/P&gt;
&lt;P&gt;0 values or do you also have report/user filters hence condition had to be setup on report and not on task?&lt;/P&gt;
&lt;P&gt;Task condition may still be correct place as long as you are validating if whole task needs to run at all. In such case all filters taken into account would be on task level only.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;cheers&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2024 13:05:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Setting-chart-based-conditions-with-empty-table/m-p/2497375#M42377</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2024-12-11T13:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: Setting chart-based conditions with empty table</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Setting-chart-based-conditions-with-empty-table/m-p/2497437#M42378</link>
      <description>&lt;P&gt;&lt;SPAN&gt;0 values in Data handling&amp;nbsp;made the report work properly.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Logs from Qlik Nprinting with only&amp;nbsp;0 values in Data handling and&amp;nbsp;filtered data from the previous week (where there are no errors)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sebastian_Dec_0-1733928022348.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/175586i6E1FB791BDF8173D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sebastian_Dec_0-1733928022348.png" alt="Sebastian_Dec_0-1733928022348.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I added a filter for the user in Qlik Sense, and for myself in Qlik Nprinting "just in case" -&amp;gt;&amp;nbsp;I understand that it is unnecessary and for Nprinting&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2024 14:42:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Setting-chart-based-conditions-with-empty-table/m-p/2497437#M42378</guid>
      <dc:creator>Sebastian_Dec</dc:creator>
      <dc:date>2024-12-11T14:42:27Z</dc:date>
    </item>
  </channel>
</rss>

