<?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 NPriniting On-Demand report Date format in Qlik NPrinting</title>
    <link>https://community.qlik.com/t5/Qlik-NPrinting/NPriniting-On-Demand-report-Date-format/m-p/1805662#M32175</link>
    <description>&lt;P&gt;Hello Qlik Geeks,&lt;/P&gt;&lt;P&gt;I have created an on-demand Excel report using (Qlik NPrinting&amp;nbsp;April 2020 |&amp;nbsp;&lt;SPAN class="ng-scope"&gt;Version: 20.10.2.0) and I am using QlikView April 2020 | Version 12. 50. I have a straight table in QVW with columns Date and Account number But the generated report is showing the two column values completely incorrect. Account numbers has '0' missing before them and Date values are some random numbers. Can you please help me with this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="ng-scope"&gt;QVW:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="QlikGeek_0-1620265448409.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/54402i6986DE149208FF05/image-size/medium?v=v2&amp;amp;px=400" role="button" title="QlikGeek_0-1620265448409.png" alt="QlikGeek_0-1620265448409.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Excel:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="QlikGeek_1-1620265755773.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/54403iC23366FFCE8C9A64/image-size/medium?v=v2&amp;amp;px=400" role="button" title="QlikGeek_1-1620265755773.png" alt="QlikGeek_1-1620265755773.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp; &lt;LI-PRODUCT title="Qlik NPrinting" id="qlikNPrinting"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;LI-PRODUCT title="QlikView" id="qlikView"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 06 May 2021 01:51:59 GMT</pubDate>
    <dc:creator>QlikGeek</dc:creator>
    <dc:date>2021-05-06T01:51:59Z</dc:date>
    <item>
      <title>NPriniting On-Demand report Date format</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/NPriniting-On-Demand-report-Date-format/m-p/1805662#M32175</link>
      <description>&lt;P&gt;Hello Qlik Geeks,&lt;/P&gt;&lt;P&gt;I have created an on-demand Excel report using (Qlik NPrinting&amp;nbsp;April 2020 |&amp;nbsp;&lt;SPAN class="ng-scope"&gt;Version: 20.10.2.0) and I am using QlikView April 2020 | Version 12. 50. I have a straight table in QVW with columns Date and Account number But the generated report is showing the two column values completely incorrect. Account numbers has '0' missing before them and Date values are some random numbers. Can you please help me with this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="ng-scope"&gt;QVW:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="QlikGeek_0-1620265448409.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/54402i6986DE149208FF05/image-size/medium?v=v2&amp;amp;px=400" role="button" title="QlikGeek_0-1620265448409.png" alt="QlikGeek_0-1620265448409.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Excel:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="QlikGeek_1-1620265755773.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/54403iC23366FFCE8C9A64/image-size/medium?v=v2&amp;amp;px=400" role="button" title="QlikGeek_1-1620265755773.png" alt="QlikGeek_1-1620265755773.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp; &lt;LI-PRODUCT title="Qlik NPrinting" id="qlikNPrinting"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;LI-PRODUCT title="QlikView" id="qlikView"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 01:51:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/NPriniting-On-Demand-report-Date-format/m-p/1805662#M32175</guid>
      <dc:creator>QlikGeek</dc:creator>
      <dc:date>2021-05-06T01:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: NPriniting On-Demand report Date format</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/NPriniting-On-Demand-report-Date-format/m-p/1805664#M32176</link>
      <description>&lt;P&gt;Check for the data format set in the excel cells. Sometimes if the cell in excel template is set as general then you might see some difference in value.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 02:14:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/NPriniting-On-Demand-report-Date-format/m-p/1805664#M32176</guid>
      <dc:creator>AtQlik</dc:creator>
      <dc:date>2021-05-06T02:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: NPriniting On-Demand report Date format</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/NPriniting-On-Demand-report-Date-format/m-p/1805679#M32177</link>
      <description>&lt;P&gt;so the date is not random value but it is numerical representation of that date. put 44287 into excel and change its format to date and you will see that it is 01/04/2021&lt;/P&gt;&lt;P&gt;in regards to "leading zeros" - excel may truncate them, because it things that your account is a number. For that to work you may need to force it to be text in QlikView by applying Text() function in load script on that field.&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 04:01:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/NPriniting-On-Demand-report-Date-format/m-p/1805679#M32177</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2021-05-06T04:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: NPriniting On-Demand report Date format</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/NPriniting-On-Demand-report-Date-format/m-p/1805859#M32179</link>
      <description>&lt;P&gt;Thanks for your reply. How come it is working fine on QVW but not on NP generated on-demand excel ? It was working fine earlier before NP was upgraded to new version.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 14:05:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/NPriniting-On-Demand-report-Date-format/m-p/1805859#M32179</guid>
      <dc:creator>QlikGeek</dc:creator>
      <dc:date>2021-05-06T14:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: NPriniting On-Demand report Date format</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/NPriniting-On-Demand-report-Date-format/m-p/1805874#M32180</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;QlikView 12.50 is supported starting from SR2,&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/nprinting/February2021/Content/NPrinting/DeployingQVNprinting/System-requirements_engine.htm" target="_blank"&gt;https://help.qlik.com/en-US/nprinting/February2021/Content/NPrinting/DeployingQVNprinting/System-requirements_engine.htm&lt;/A&gt;&amp;nbsp;be sure you are not using an older version.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Ruggero&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 14:43:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/NPriniting-On-Demand-report-Date-format/m-p/1805874#M32180</guid>
      <dc:creator>Ruggero_Piccoli</dc:creator>
      <dc:date>2021-05-06T14:43:13Z</dc:date>
    </item>
    <item>
      <title>Re: NPriniting On-Demand report Date format</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/NPriniting-On-Demand-report-Date-format/m-p/1805913#M32181</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/121179"&gt;@QlikGeek&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Assuming your source data 'might' be 'text data and in case you need a more consistent behavior without upgrading QV, you may want to try converting your text source 'date' data from text to 'date' format using:&lt;/P&gt;&lt;P&gt;Date#(Date([Date],'MMMM DD,YYYY'),'YYYY.MM.DD')as DayMonth&lt;/P&gt;&lt;P&gt;I've created a sample QVW and attached it including source xlsx file.&lt;/P&gt;&lt;P&gt;You can see the space in the front of each text date field in the source file. Without the code about, the report output appears as numeric text (whether or not On Demand is used).&lt;/P&gt;&lt;P&gt;When using the above code, you will get the following On Demand output:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="text to date format.PNG" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/54454iD36E774F4B45D4EA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="text to date format.PNG" alt="text to date format.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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have also attached the source data file and the test QVW in zipped format.&lt;/P&gt;&lt;P&gt;The code credit goes to @rob wunderlich in the permalink below:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/QlikView-App-Dev/Convert-text-to-date-format/m-p/98372/highlight/true#M751476" target="_blank"&gt;https://community.qlik.com/t5/QlikView-App-Dev/Convert-text-to-date-format/m-p/98372/highlight/true#M751476&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 16:06:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/NPriniting-On-Demand-report-Date-format/m-p/1805913#M32181</guid>
      <dc:creator>Frank_S</dc:creator>
      <dc:date>2021-05-06T16:06:04Z</dc:date>
    </item>
    <item>
      <title>Re: NPriniting On-Demand report Date format</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/NPriniting-On-Demand-report-Date-format/m-p/1805938#M32182</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;I have made the script changes ad ran the on-demand but the output is same there is no difference.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Modified script : Date#(Date([OrdDate],'YYYY-MM-DD'),'YYYY-MM-DD')as OrdDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Output:&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="QlikGeek_0-1620322304003.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/54458iC9A701B0B7A94888/image-size/medium?v=v2&amp;amp;px=400" role="button" title="QlikGeek_0-1620322304003.png" alt="QlikGeek_0-1620322304003.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>Thu, 06 May 2021 17:32:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/NPriniting-On-Demand-report-Date-format/m-p/1805938#M32182</guid>
      <dc:creator>QlikGeek</dc:creator>
      <dc:date>2021-05-06T17:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: NPriniting On-Demand report Date format</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/NPriniting-On-Demand-report-Date-format/m-p/1805940#M32183</link>
      <description>&lt;P&gt;After applying the Text() function to the field 'Account', it is working fine but the Date() function to Order Date field is not working. It is still showing the numerical representation in the generated NP on-demand excel report. Is there anything I am missing?&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 17:36:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/NPriniting-On-Demand-report-Date-format/m-p/1805940#M32183</guid>
      <dc:creator>QlikGeek</dc:creator>
      <dc:date>2021-05-06T17:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: NPriniting On-Demand report Date format</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/NPriniting-On-Demand-report-Date-format/m-p/1805977#M32184</link>
      <description>&lt;P&gt;It is working fine after making the below changes.. Thank you for your help&lt;/P&gt;&lt;P&gt;Old:&lt;/P&gt;&lt;P&gt;Account&lt;/P&gt;&lt;P&gt;OrdDate&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;New:&lt;/P&gt;&lt;P&gt;Text(Account) as Account,&lt;BR /&gt;Text(date(OrdDate,'YYYY-MM-DD')) as OrdDate,&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 20:16:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/NPriniting-On-Demand-report-Date-format/m-p/1805977#M32184</guid>
      <dc:creator>QlikGeek</dc:creator>
      <dc:date>2021-05-06T20:16:56Z</dc:date>
    </item>
  </channel>
</rss>

