<?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: Dynamic Filter Nprinting 17 in Qlik NPrinting</title>
    <link>https://community.qlik.com/t5/Qlik-NPrinting/Dynamic-Filter-Nprinting-17/m-p/1336472#M17062</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Hi Manuel, I didn't tested but seems that Lech already posted a good answer.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;If still doesn't works maybe the problem comes from another way... is the app updated? maybe you are doing tests in an app not scheduled to reload and doesn't have data loaded for yesterday.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Just to give another option, in some cases I found useful use auxiliar field in apps to apply filters:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Calendar?: //Table where date field is loaded&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD ...&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(DateField=Today()-1, 1, 0) as isYesterday&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;First you can check in the app if the values are applied correctly, and second you can use this field as the filter by value, without the need of doing evaluations.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 13 May 2017 08:27:13 GMT</pubDate>
    <dc:creator>rubenmarin</dc:creator>
    <dc:date>2017-05-13T08:27:13Z</dc:date>
    <item>
      <title>Dynamic Filter Nprinting 17</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Dynamic-Filter-Nprinting-17/m-p/1336469#M17059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to filter on yesterday by date(today()-1) but the filter doesn't work.&lt;/P&gt;&lt;P&gt;The report is not generated at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried this:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.qlik.com/en-US/nprinting/17.3/Content/FiltersCycles/StaticDynamicFilters/Static-dynamic-filters.htm" title="http://help.qlik.com/en-US/nprinting/17.3/Content/FiltersCycles/StaticDynamicFilters/Static-dynamic-filters.htm" target="_blank"&gt;http://help.qlik.com/en-US/nprinting/17.3/Content/FiltersCycles/StaticDynamicFilters/Static-dynamic-filters.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;"For example, to retrieve the value of the last year, enter &lt;SPAN class="user_input" data-mc-conditions="Targets.NotToTranslate"&gt;=Year(now())-1&lt;/SPAN&gt;. "&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but neither &lt;SPAN class="user_input" data-mc-conditions="Targets.NotToTranslate"&gt;=Year(now())-1 nor =date(today()-1) works.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="user_input" data-mc-conditions="Targets.NotToTranslate"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="user_input" data-mc-conditions="Targets.NotToTranslate"&gt;Filter option is "evaluate".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="user_input" data-mc-conditions="Targets.NotToTranslate"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="user_input" data-mc-conditions="Targets.NotToTranslate"&gt;In Nprinting 16 it works perfectly.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2019 18:40:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Dynamic-Filter-Nprinting-17/m-p/1336469#M17059</guid>
      <dc:creator>ManuelRühl</dc:creator>
      <dc:date>2019-09-25T18:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Filter Nprinting 17</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Dynamic-Filter-Nprinting-17/m-p/1336470#M17060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;For testing i am attaching an application Total.qvw&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using this app and i am creating a filter to calculate a yesterdays date in it. I am not having any other filters applied on top of my "Yesterday" filter. If you are using recipient list to distribute reports, make sure that there aint no filters interfering or even excluding each other.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are the steps:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Create a connection to your QlikView or QlikSense application&lt;/P&gt;&lt;P&gt;2. Recognise what type of data you want to filter. This is important as dates are usualy DUAL values (text and number)&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If field value is numeric you need to create numeric filter&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;If field value is DUAL - you need to create numeric filter with numeric value associated to text(dual) value. this may be your issue as dates are usually duals - so you need to create numeric filter for it&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;If field value is text - you need to create strng filter&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;IMG alt="np2.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/163231_np2.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;3. in my example my date is actualy numeric value - so i will need to create numeric filter in nprinting 17&lt;/P&gt;&lt;P&gt;4. create a filter in NPrinting - i called my "Yesterday":&lt;/P&gt;&lt;P&gt;&lt;IMG alt="np1.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/163232_np1.png" style="height: 280px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;5. Add fields to your filter:&lt;/P&gt;&lt;P&gt;I have added my Date field and I have chosen to evaluate value to be Yesterday numeric value due to data type recognised in my pt.2. Therefore I am using&lt;STRONG style="color: #ff0000;"&gt; num(Today()-1)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="np0.png" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/163234_np0.png" style="height: 291px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6. Then simply create a report and&lt;STRONG&gt; add this filter&lt;/STRONG&gt; to report or task&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(this is my source document and i want it to be filtered by yesterdays date (i am looking at Date Chart table))&lt;/P&gt;&lt;P&gt;&lt;IMG alt="np3.png" class="image-4 jive-image" src="https://community.qlik.com/legacyfs/online/163235_np3.png" style="max-width: 620px; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;(creating nprinting excel template)&lt;/P&gt;&lt;P&gt;&lt;IMG alt="np7.png" class="image-5 jive-image" src="https://community.qlik.com/legacyfs/online/163236_np7.png" style="height: 317px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(adding filter to report or task - wherever you like)&lt;/P&gt;&lt;P&gt;&lt;IMG alt="np6.png" class="jive-image image-6" src="https://community.qlik.com/legacyfs/online/163237_np6.png" style="height: 331px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a publish task and see results:&lt;/P&gt;&lt;P&gt;(worked for me &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;)&lt;/P&gt;&lt;P&gt;&lt;IMG alt="np8.png" class="jive-image image-7" src="https://community.qlik.com/legacyfs/online/163239_np8.png" style="height: 330px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps you&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;Lech&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2017 23:52:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Dynamic-Filter-Nprinting-17/m-p/1336470#M17060</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2017-05-12T23:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Filter Nprinting 17</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Dynamic-Filter-Nprinting-17/m-p/1336471#M17061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you could alternatively try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="user_input" data-mc-conditions="Targets.NotToTranslate"&gt;= YOURYEARFIELD = Year(now())-1 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="user_input" data-mc-conditions="Targets.NotToTranslate"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="user_input" data-mc-conditions="Targets.NotToTranslate"&gt;(--&amp;gt; &lt;STRONG style="color: #ff0000;"&gt;deactivate&lt;/STRONG&gt; evaluate)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 May 2017 07:10:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Dynamic-Filter-Nprinting-17/m-p/1336471#M17061</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-13T07:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Filter Nprinting 17</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Dynamic-Filter-Nprinting-17/m-p/1336472#M17062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Hi Manuel, I didn't tested but seems that Lech already posted a good answer.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;If still doesn't works maybe the problem comes from another way... is the app updated? maybe you are doing tests in an app not scheduled to reload and doesn't have data loaded for yesterday.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Just to give another option, in some cases I found useful use auxiliar field in apps to apply filters:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Calendar?: //Table where date field is loaded&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD ...&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(DateField=Today()-1, 1, 0) as isYesterday&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;First you can check in the app if the values are applied correctly, and second you can use this field as the filter by value, without the need of doing evaluations.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 May 2017 08:27:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Dynamic-Filter-Nprinting-17/m-p/1336472#M17062</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2017-05-13T08:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Filter Nprinting 17</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Dynamic-Filter-Nprinting-17/m-p/1336473#M17063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;P&gt;I like an idea of flaging records during script reload an refer to flag in Nprinting filters&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 May 2017 08:34:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Dynamic-Filter-Nprinting-17/m-p/1336473#M17063</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2017-05-13T08:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Filter Nprinting 17</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Dynamic-Filter-Nprinting-17/m-p/1336474#M17064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes, it's a good idea, but the dynamic filters should also work...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 May 2017 08:40:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Dynamic-Filter-Nprinting-17/m-p/1336474#M17064</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-13T08:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Filter Nprinting 17</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Dynamic-Filter-Nprinting-17/m-p/1336475#M17065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manuel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;did it work for you?&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Lech&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;---------------------------------------------&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;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 as HELPFUL if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads as HELPFUL if you feel additional info is useful to others.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 May 2017 00:33:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Dynamic-Filter-Nprinting-17/m-p/1336475#M17065</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2017-05-16T00:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Filter Nprinting 17</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Dynamic-Filter-Nprinting-17/m-p/1336476#M17066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot for your answers!&lt;/P&gt;&lt;P&gt;I think my mistake is around dual and num .....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I didnt have the chance yet to check it, but ill let you know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 May 2017 06:02:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Dynamic-Filter-Nprinting-17/m-p/1336476#M17066</guid>
      <dc:creator>ManuelRühl</dc:creator>
      <dc:date>2017-05-16T06:02:34Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Filter Nprinting 17</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Dynamic-Filter-Nprinting-17/m-p/1336477#M17067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I Lech, like Manuel I'm struggling with dynamic filters using NPrinting 17.3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried to follow the steps you described but I get the "Wrong content node response type"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My date is numeric, timestamp. I've tried the filter with num() and timestamp() with no results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe it's easier to flag the records that fall in the desired date range?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Andre Costa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2017 10:34:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Dynamic-Filter-Nprinting-17/m-p/1336477#M17067</guid>
      <dc:creator>andrefpc</dc:creator>
      <dc:date>2017-05-22T10:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Filter Nprinting 17</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Dynamic-Filter-Nprinting-17/m-p/1336478#M17068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andre,&lt;/P&gt;&lt;P&gt;What formula are you trying to apply in your filter? Is your formula rteturning 1 value or multiple values?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can flag records- then i would sugest to do that to keep your filters simpler and keep logic on Qlik side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Lech&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2017 23:17:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Dynamic-Filter-Nprinting-17/m-p/1336478#M17068</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2017-05-22T23:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Filter Nprinting 17</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Dynamic-Filter-Nprinting-17/m-p/1336479#M17069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lech, thanks for the help. I followed the aproach of flagging the records, no problems now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Andre&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 May 2017 13:46:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Dynamic-Filter-Nprinting-17/m-p/1336479#M17069</guid>
      <dc:creator>andrefpc</dc:creator>
      <dc:date>2017-05-29T13:46:26Z</dc:date>
    </item>
  </channel>
</rss>

