<?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 Most Recent Date (Nprinting) in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Most-Recent-Date-Nprinting/m-p/1862781#M71184</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I have a report that I'm trying to do Nprinting on. I have two sheets. On the first sheet, I have a Date Filter called "Date"and on the second sheet, I have another Date filter called Reconciliation Date.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm trying to get an HTML Nprinting going so that both sheets show the most recent date based on the filter selected.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm able to get the first sheet working. I was able to go to "Evaluate Search" Under Filters and did a MAX(Date) and the report ends up selecting the most recent date based off the Date Filter.&lt;/P&gt;
&lt;P&gt;But when I try to do the second sheet, I get an error&amp;nbsp; "false to current data" when trying to do MAX(Reconciliation Date) under Evaluate Value. But it doesn't makes sense to me. I have the correct sheet selected. I'm not sure what's going on here.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another possible solution that I found was this&lt;/P&gt;
&lt;P&gt;Nprinting: &lt;BR /&gt;LOAD MAX(DATE([Date Of Reconciliation])) AS [Max Date Of Reconciliation]&lt;BR /&gt;RESIDENT CBSFinal;&lt;/P&gt;
&lt;P&gt;LET vNprinting = PEEK('Max Date Of Reconciliation', 0, 'Nprinting');&lt;BR /&gt;DROP TABLE Nprinting;&lt;/P&gt;
&lt;P&gt;DROP TABLES Source, Target,FinalTemp,CDN,BW,Usage;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Letting the variable select the MAX date. So on the front end variable, it looks like 11/23/2021 which is what I want. But I'm not sure how to get Nprinting to show the most recent date based off of my backend code above.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/12891"&gt;@Nicole-Smith&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 23 Nov 2021 20:48:57 GMT</pubDate>
    <dc:creator>default_the_pig</dc:creator>
    <dc:date>2021-11-23T20:48:57Z</dc:date>
    <item>
      <title>Most Recent Date (Nprinting)</title>
      <link>https://community.qlik.com/t5/App-Development/Most-Recent-Date-Nprinting/m-p/1862781#M71184</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I have a report that I'm trying to do Nprinting on. I have two sheets. On the first sheet, I have a Date Filter called "Date"and on the second sheet, I have another Date filter called Reconciliation Date.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm trying to get an HTML Nprinting going so that both sheets show the most recent date based on the filter selected.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm able to get the first sheet working. I was able to go to "Evaluate Search" Under Filters and did a MAX(Date) and the report ends up selecting the most recent date based off the Date Filter.&lt;/P&gt;
&lt;P&gt;But when I try to do the second sheet, I get an error&amp;nbsp; "false to current data" when trying to do MAX(Reconciliation Date) under Evaluate Value. But it doesn't makes sense to me. I have the correct sheet selected. I'm not sure what's going on here.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another possible solution that I found was this&lt;/P&gt;
&lt;P&gt;Nprinting: &lt;BR /&gt;LOAD MAX(DATE([Date Of Reconciliation])) AS [Max Date Of Reconciliation]&lt;BR /&gt;RESIDENT CBSFinal;&lt;/P&gt;
&lt;P&gt;LET vNprinting = PEEK('Max Date Of Reconciliation', 0, 'Nprinting');&lt;BR /&gt;DROP TABLE Nprinting;&lt;/P&gt;
&lt;P&gt;DROP TABLES Source, Target,FinalTemp,CDN,BW,Usage;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Letting the variable select the MAX date. So on the front end variable, it looks like 11/23/2021 which is what I want. But I'm not sure how to get Nprinting to show the most recent date based off of my backend code above.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/12891"&gt;@Nicole-Smith&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Nov 2021 20:48:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Most-Recent-Date-Nprinting/m-p/1862781#M71184</guid>
      <dc:creator>default_the_pig</dc:creator>
      <dc:date>2021-11-23T20:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: Most Recent Date (Nprinting)</title>
      <link>https://community.qlik.com/t5/App-Development/Most-Recent-Date-Nprinting/m-p/1862795#M71185</link>
      <description>&lt;P&gt;Maybe this would fix it?&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;MAX([Reconciliation Date])&amp;nbsp;field names with spaces/special characters need brackets.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Nov 2021 21:59:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Most-Recent-Date-Nprinting/m-p/1862795#M71185</guid>
      <dc:creator>stevejoyce</dc:creator>
      <dc:date>2021-11-23T21:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: Most Recent Date (Nprinting)</title>
      <link>https://community.qlik.com/t5/App-Development/Most-Recent-Date-Nprinting/m-p/1862816#M71186</link>
      <description>&lt;P&gt;Yes, you're absolutely right! It did work. Thank you!&lt;/P&gt;
&lt;P&gt;This was driving me nuts. I'm wondering how MAX(Date) worked without any brackets but every other field needed brackets.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Nov 2021 00:35:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Most-Recent-Date-Nprinting/m-p/1862816#M71186</guid>
      <dc:creator>default_the_pig</dc:creator>
      <dc:date>2021-11-24T00:35:42Z</dc:date>
    </item>
  </channel>
</rss>

