<?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: Chart Legend containing Date has different value when output is XLS and PDF in Qlik NPrinting</title>
    <link>https://community.qlik.com/t5/Qlik-NPrinting/Chart-Legend-containing-Date-has-different-value-when-output-is/m-p/1705989#M29045</link>
    <description>&lt;P&gt;I will open support case tomorrow. Thanks&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/48729"&gt;@Ruggero_Piccoli&lt;/a&gt;&amp;nbsp;!!&lt;/P&gt;&lt;P&gt;Ciao!&lt;/P&gt;</description>
    <pubDate>Thu, 28 May 2020 10:47:06 GMT</pubDate>
    <dc:creator>Lech_Miszkiewicz</dc:creator>
    <dc:date>2020-05-28T10:47:06Z</dc:date>
    <item>
      <title>Chart Legend containing Date has different value when output is XLS and PDF</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Chart-Legend-containing-Date-has-different-value-when-output-is/m-p/1705871#M29041</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;This is something I came across by accident. I know workaround (but i don't like it since it makes everything else difficult like sorting on converting).&lt;/P&gt;&lt;P&gt;This particular example is on NPrinting April 2020 (there was no label for April 2020 when I create this post) and on Qlik Sense Feb 2020. I also checked on various different versions and issue is still there. So what is the issue? I am providing steps to replicate it:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Create Qlik application using below inline&lt;PRE&gt;Test:
Load 
	Dim1,
	Date(Date)			as [Transaction Date],
	Floor(Rand()*10000) as Value
Inline
	[
		Dim1, 	Date 
		A,		43979
		A,		43980
		A,		43981
		B,		43979
		B,		43980
		B,		43981
		C,		43979
		C,		43980
		C,		43981
	]
;


exit script;&lt;/PRE&gt;&lt;/LI&gt;&lt;LI&gt;Create a straight table&lt;OL&gt;&lt;LI&gt;Dimensions:&lt;OL&gt;&lt;LI&gt;Dim1&lt;/LI&gt;&lt;LI&gt;[Transaction Date]&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;Measures&lt;OL&gt;&lt;LI&gt;Sum(Value)&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;Connect this app to NPrinting, regenerate metadata and create Excel based template&lt;/LI&gt;&lt;LI&gt;Add table created in pt 2 to your Table tags&lt;OL&gt;&lt;LI&gt;Here you can choose to disable "Keep source format", but i played with it with no change on final effect&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;Drag and drop it to excel sheet and convert it to "Table" (select range of cells-&amp;gt;Insert-&amp;gt; Table)&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 509px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/34478i417D35997C4A7E33/image-dimensions/509x476?v=v2" width="509" height="476" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;LI&gt;As indicated using arrows I am doing it on Sheet1, I am formatting in Excel Transaction Date to date format and I have "Keep source format" disabled&lt;/LI&gt;&lt;LI&gt;Now I create Sheet2 and in this sheet i create a pivot table which will be a source of data for my Pivot Chart (Bar chart - stacked - horizontal). I made sure there is Chart element "Legend" added - as Legend is the problematic element.&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/34479i6ED5D7ACB139A570/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;LI&gt;I Used colours to indicate where each of those goes&lt;/LI&gt;&lt;LI&gt;Preview as XLS and "Voila" - I get what I wanted:&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 677px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/34480i2CB12F2B17C6F1A6/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;LI&gt;So I need this report as PDF, and here is a problem. When you run it to be created as PDF format of date in legend changes. I was not able to figure out why.. see screenshot:&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/34481i554B548DC9922474/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.png" alt="2.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;LI&gt;I checked regional setting on server etc.. I have no idea how to fix this&lt;/LI&gt;&lt;LI&gt;My workaround so far was to completely convert [Transaction Date] field to text but this obviously has consequences like issues with sorting etc....&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;if anyone has an idea how to fix this I am more than happy to try anything.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/48729"&gt;@Ruggero_Piccoli&lt;/a&gt;&amp;nbsp;- would you be able to suggest something?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this makes sense.&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Lech&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2020 03:02:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Chart-Legend-containing-Date-has-different-value-when-output-is/m-p/1705871#M29041</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2020-05-28T03:02:46Z</dc:date>
    </item>
    <item>
      <title>Re: Chart Legend containing Date has different value when output is XLS and PDF</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Chart-Legend-containing-Date-has-different-value-when-output-is/m-p/1705979#M29044</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/1326"&gt;@Lech_Miszkiewicz&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Based on my experience this seems an issue of the library that created the PDF.&amp;nbsp; I suggest you to open a support ticket with a link to this conversation. Thanks for the detailed information.&lt;/P&gt;&lt;P&gt;I asked to the community manager to add the April 2020 label.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Ruggero&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2020 10:25:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Chart-Legend-containing-Date-has-different-value-when-output-is/m-p/1705979#M29044</guid>
      <dc:creator>Ruggero_Piccoli</dc:creator>
      <dc:date>2020-05-28T10:25:27Z</dc:date>
    </item>
    <item>
      <title>Re: Chart Legend containing Date has different value when output is XLS and PDF</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Chart-Legend-containing-Date-has-different-value-when-output-is/m-p/1705989#M29045</link>
      <description>&lt;P&gt;I will open support case tomorrow. Thanks&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/48729"&gt;@Ruggero_Piccoli&lt;/a&gt;&amp;nbsp;!!&lt;/P&gt;&lt;P&gt;Ciao!&lt;/P&gt;</description>
      <pubDate>Thu, 28 May 2020 10:47:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Chart-Legend-containing-Date-has-different-value-when-output-is/m-p/1705989#M29045</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2020-05-28T10:47:06Z</dc:date>
    </item>
  </channel>
</rss>

