<?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 Filter By Previous Day in Qlik NPrinting</title>
    <link>https://community.qlik.com/t5/Qlik-NPrinting/Filter-By-Previous-Day/m-p/1746219#M30108</link>
    <description>&lt;P&gt;I need help creating a filter in Nprinting to get only values for the previous day. Below is what I have got but it does not give me the expected answer. Your suggestions will be appreciated. Thanks&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Pomna_0-1600828536386.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/41028iBB8C829665A014E9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Pomna_0-1600828536386.png" alt="Pomna_0-1600828536386.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 23 Sep 2020 02:36:25 GMT</pubDate>
    <dc:creator>Pomna</dc:creator>
    <dc:date>2020-09-23T02:36:25Z</dc:date>
    <item>
      <title>Filter By Previous Day</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Filter-By-Previous-Day/m-p/1746219#M30108</link>
      <description>&lt;P&gt;I need help creating a filter in Nprinting to get only values for the previous day. Below is what I have got but it does not give me the expected answer. Your suggestions will be appreciated. Thanks&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Pomna_0-1600828536386.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/41028iBB8C829665A014E9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Pomna_0-1600828536386.png" alt="Pomna_0-1600828536386.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2020 02:36:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Filter-By-Previous-Day/m-p/1746219#M30108</guid>
      <dc:creator>Pomna</dc:creator>
      <dc:date>2020-09-23T02:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: Filter By Previous Day</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Filter-By-Previous-Day/m-p/1746223#M30109</link>
      <description>&lt;P&gt;Change&lt;STRONG&gt; Advance Search&lt;/STRONG&gt; to &lt;STRONG&gt;&lt;EM&gt;Evaluate Value&lt;/EM&gt; &lt;/STRONG&gt;and in the field enter&lt;/P&gt;&lt;P&gt;=Today()-1&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2020 03:14:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Filter-By-Previous-Day/m-p/1746223#M30109</guid>
      <dc:creator>robert_mika</dc:creator>
      <dc:date>2020-09-23T03:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: Filter By Previous Day</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Filter-By-Previous-Day/m-p/1746230#M30110</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/59879"&gt;@Pomna&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/44146"&gt;@robert_mika&lt;/a&gt;&amp;nbsp;answer will work if your date field which I assume is&amp;nbsp; "CusSat Created Date" is loaded as a date without timestamp. On Qlik script side it should be loaded with statement similar to following:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;EM&gt;Load&lt;/EM&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;EM&gt;....&lt;/EM&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;EM&gt;Date(Floor(somedate)) as [CusSat Created Date]&lt;/EM&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;EM&gt;....&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;The above scenario will filter down data on [CusSat Created Date] only to yesterdays records.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also looked at your screenshot and I am trying to understand what you have tried to do in there. You have used [Date] field and you wanted to filter [CusSat Created Date] by using association to [Date] field which you wanted to filter to records greater or equal than yesterdays date.&lt;/P&gt;&lt;P&gt;Now the question is:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;do you have [Date] field in your data model and did you want to use it to apply filters on [CusSat Created Date]?&lt;UL&gt;&lt;LI&gt;If you do - then how those 2 fields are associated in your data model as results will depend on association&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;Lech&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2020 03:49:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Filter-By-Previous-Day/m-p/1746230#M30110</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2020-09-23T03:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: Filter By Previous Day</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Filter-By-Previous-Day/m-p/1746490#M30123</link>
      <description>&lt;P&gt;I added the following to my load script&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Date(Floor([CusSat Date])) as [CusSat Created Date] to my load script &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;and&amp;nbsp; Evaluete Value&amp;nbsp;&lt;SPAN&gt;=Today()-1&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;It worked. But when I&amp;nbsp; want to see two previous days&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;Today()-2&lt;/SPAN&gt;&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;or seven previous days &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;Today()-7&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I&amp;nbsp; get an error message. Is there a reason for that? Thanks&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2020 15:01:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Filter-By-Previous-Day/m-p/1746490#M30123</guid>
      <dc:creator>Pomna</dc:creator>
      <dc:date>2020-09-23T15:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: Filter By Previous Day</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Filter-By-Previous-Day/m-p/1746492#M30124</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Please specify the text of the error message.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Ruggero&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2020 15:04:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Filter-By-Previous-Day/m-p/1746492#M30124</guid>
      <dc:creator>Ruggero_Piccoli</dc:creator>
      <dc:date>2020-09-23T15:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: Filter By Previous Day</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Filter-By-Previous-Day/m-p/1746497#M30125</link>
      <description>&lt;P&gt;Below is the error message I get&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Pomna_0-1600873988612.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/41074iC0F1167D2FE8DA51/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Pomna_0-1600873988612.png" alt="Pomna_0-1600873988612.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2020 15:13:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Filter-By-Previous-Day/m-p/1746497#M30125</guid>
      <dc:creator>Pomna</dc:creator>
      <dc:date>2020-09-23T15:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: Filter By Previous Day</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Filter-By-Previous-Day/m-p/1746594#M30127</link>
      <description>&lt;P&gt;There are 3 possible separate issues with this:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;first issue is more of a conceptual one. If you want to see last 7 days you need to create in your filters 7 rows like below, as effectively you are talking not about one but multiple days:&lt;UL&gt;&lt;LI&gt;Evaluete Value =&lt;FONT color="#FF0000"&gt;Floor(&lt;/FONT&gt;Today()-1&lt;FONT color="#FF0000"&gt;)&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;Evaluete Value =&lt;FONT color="#FF0000"&gt;Floor(&lt;/FONT&gt;Today()-2&lt;FONT color="#FF0000"&gt;)&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;Evaluete Value =&lt;FONT color="#FF0000"&gt;Floor(&lt;/FONT&gt;Today()-3&lt;FONT color="#FF0000"&gt;)&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;...&lt;/LI&gt;&lt;LI&gt;Evaluete Value =&lt;FONT color="#FF0000"&gt;Floor(&lt;/FONT&gt;Today()-7&lt;FONT color="#FF0000"&gt;)&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Second issue is related to the error you attached. For some reason this filter cannot be applied and there can be multiple reasons. First one which came to my mind was that you have "Always one selected value" set on this field in QlikView&amp;nbsp; (and/or triggers) - both are not supported and need to be removed from your document if they exist. The other option would be to apply Floor() function on calculation - see in the example above the red highlighted part. I know that in this case it shouldn't matter but I want to make sure that the actual value of the filter is not an issue here..&lt;/LI&gt;&lt;LI&gt;Do you apply any other filters (on task, report, user level) which would exclude data for Today()-2 etc days?&amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;You may also provide a screenshot of your filter in NPrinting for a reference here.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2020 22:47:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Filter-By-Previous-Day/m-p/1746594#M30127</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2020-09-23T22:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: Filter By Previous Day</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Filter-By-Previous-Day/m-p/1747338#M30148</link>
      <description>&lt;P&gt;Thank you for all your help. When I do just the date filter with just one field or only the assigned team filter with only one field&amp;nbsp; it runs without issue. But when I create a second field (see screen shots below) that is when I get issues.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Pomna_2-1601073501372.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/41252i39802B49045BF0F7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Pomna_2-1601073501372.png" alt="Pomna_2-1601073501372.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Pomna_4-1601073591934.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/41254iEEABF471592E31D2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Pomna_4-1601073591934.png" alt="Pomna_4-1601073591934.png" /&gt;&lt;/span&gt;&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="Pomna_0-1601073393608.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/41250i424F0736C7151BEF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Pomna_0-1601073393608.png" alt="Pomna_0-1601073393608.png" /&gt;&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;</description>
      <pubDate>Fri, 25 Sep 2020 22:42:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Filter-By-Previous-Day/m-p/1747338#M30148</guid>
      <dc:creator>Pomna</dc:creator>
      <dc:date>2020-09-25T22:42:04Z</dc:date>
    </item>
    <item>
      <title>Re: Filter By Previous Day</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Filter-By-Previous-Day/m-p/1747349#M30149</link>
      <description>&lt;P&gt;ok then it looks like combinations of values you are trying to apply is not possible in your data model or your filter for Assigned team is created wrong although based on what you say it is not as it works on its own..&lt;/P&gt;&lt;P&gt;So just to confirm my first guess I suggest you go to Qlik Sense app an try applying this selection there - is it possible?&lt;/P&gt;</description>
      <pubDate>Sat, 26 Sep 2020 02:26:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Filter-By-Previous-Day/m-p/1747349#M30149</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2020-09-26T02:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: Filter By Previous Day</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Filter-By-Previous-Day/m-p/1747778#M30159</link>
      <description>&lt;P&gt;The selection works in Qlik Sense. Assigned team is filtered by date. Please see screen shot below&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="Pomna_2-1601306816028.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/41340i7C8F9D35D4D69C33/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Pomna_2-1601306816028.png" alt="Pomna_2-1601306816028.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 15:27:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Filter-By-Previous-Day/m-p/1747778#M30159</guid>
      <dc:creator>Pomna</dc:creator>
      <dc:date>2020-09-28T15:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: Filter By Previous Day</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Filter-By-Previous-Day/m-p/1747903#M30162</link>
      <description>&lt;P&gt;In filter pane it looks like your date is not a straight field but expression. Can you try to use a naked field you mentioned you have created instead?&lt;/P&gt;&lt;P&gt;I just want to confirm the obvious:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;there is no "Always one selected values"?&lt;/LI&gt;&lt;LI&gt;there is no "trigger"s or "default bookmarks" in this app?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/41357iCE3CB951B6E444BD/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 01:29:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Filter-By-Previous-Day/m-p/1747903#M30162</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2020-09-29T01:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: Filter By Previous Day</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Filter-By-Previous-Day/m-p/1747904#M30163</link>
      <description>&lt;P&gt;also - do you intersect other filters which exclude themselves? User filters maybe created in this connection?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 01:33:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Filter-By-Previous-Day/m-p/1747904#M30163</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2020-09-29T01:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: Filter By Previous Day</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Filter-By-Previous-Day/m-p/1748592#M30176</link>
      <description>&lt;P&gt;Thank you so much for all the help. I realized that the report throws an error when&amp;nbsp; no report is generated or when there is no data to show. So the solutions above work. Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 16:34:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Filter-By-Previous-Day/m-p/1748592#M30176</guid>
      <dc:creator>Pomna</dc:creator>
      <dc:date>2020-09-30T16:34:12Z</dc:date>
    </item>
  </channel>
</rss>

