<?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: Formatting Change when Report is previewed in Qlik NPrinting</title>
    <link>https://community.qlik.com/t5/Qlik-NPrinting/Formatting-Change-when-Report-is-previewed/m-p/2483156#M42097</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/79864"&gt;@Aditya_Chitale&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Well here are my points:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Since you dont want to "Keep Source format" you need to take into account that excel format "may" get applied&lt;/LI&gt;
&lt;LI&gt;To avoid this you may want to consider one of following things:
&lt;OL&gt;
&lt;LI&gt;make sure you are converting measure to text in Qlik Sense by wrapping whole expression in Text() function&lt;/LI&gt;
&lt;LI&gt;Make sure you also format column as text in your excel template&lt;/LI&gt;
&lt;LI&gt;I have not tested this but you may want to try and add to your Qlik Sense expression single quote character like this one &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;'&lt;/STRONG&gt;&lt;FONT color="#000000"&gt; - this is so when exported to excel it is interpreted as text. You can do that in your custom num() function or just by appending it as text&lt;/FONT&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;The way I would tackle it though would be by exposing a value/character in another column with say values: T (for time format) P (for percentage format) etc... and using conditional formatting to format those values using excel capabilities:&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Lech_Miszkiewicz_0-1727167910010.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/172059i518FA85CDE92BB5E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Lech_Miszkiewicz_0-1727167910010.png" alt="Lech_Miszkiewicz_0-1727167910010.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;There are many ways you can deal with this - but it all depends on your template requirements and amount of prep you are willing to do.&lt;/P&gt;
&lt;P&gt;cheers&lt;/P&gt;</description>
    <pubDate>Tue, 24 Sep 2024 08:52:53 GMT</pubDate>
    <dc:creator>Lech_Miszkiewicz</dc:creator>
    <dc:date>2024-09-24T08:52:53Z</dc:date>
    <item>
      <title>Formatting Change when Report is previewed</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Formatting-Change-when-Report-is-previewed/m-p/2483147#M42096</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;I have an excel Nprinting template which when previewed the number values get converted into text. I saw some community articles where it is suggested to change column format to 'number' in Qlik Sense itself.&lt;/P&gt;
&lt;P&gt;But the catch is, in that column not all numbers are in number format. Some are percentage values with '%'&amp;nbsp; symbol, some are time values in mm:ss format. So I need to keep the column format to measure expression or Auto.&lt;/P&gt;
&lt;P&gt;I have removed the keep source format option. Is there any way to eliminate the formatting conversion after previewing the report ?&lt;/P&gt;
&lt;P&gt;&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;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Aditya&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2024 08:13:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Formatting-Change-when-Report-is-previewed/m-p/2483147#M42096</guid>
      <dc:creator>Aditya_Chitale</dc:creator>
      <dc:date>2024-09-24T08:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting Change when Report is previewed</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Formatting-Change-when-Report-is-previewed/m-p/2483156#M42097</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/79864"&gt;@Aditya_Chitale&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Well here are my points:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Since you dont want to "Keep Source format" you need to take into account that excel format "may" get applied&lt;/LI&gt;
&lt;LI&gt;To avoid this you may want to consider one of following things:
&lt;OL&gt;
&lt;LI&gt;make sure you are converting measure to text in Qlik Sense by wrapping whole expression in Text() function&lt;/LI&gt;
&lt;LI&gt;Make sure you also format column as text in your excel template&lt;/LI&gt;
&lt;LI&gt;I have not tested this but you may want to try and add to your Qlik Sense expression single quote character like this one &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;'&lt;/STRONG&gt;&lt;FONT color="#000000"&gt; - this is so when exported to excel it is interpreted as text. You can do that in your custom num() function or just by appending it as text&lt;/FONT&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;The way I would tackle it though would be by exposing a value/character in another column with say values: T (for time format) P (for percentage format) etc... and using conditional formatting to format those values using excel capabilities:&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Lech_Miszkiewicz_0-1727167910010.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/172059i518FA85CDE92BB5E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Lech_Miszkiewicz_0-1727167910010.png" alt="Lech_Miszkiewicz_0-1727167910010.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;There are many ways you can deal with this - but it all depends on your template requirements and amount of prep you are willing to do.&lt;/P&gt;
&lt;P&gt;cheers&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2024 08:52:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Formatting-Change-when-Report-is-previewed/m-p/2483156#M42097</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2024-09-24T08:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting Change when Report is previewed</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Formatting-Change-when-Report-is-previewed/m-p/2483382#M42104</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;&lt;/P&gt;
&lt;P&gt;Thanks for the reply. But converting the measure column to text on both sides (Sense &amp;amp; Nprinting) didn't solve the problem. Previewing the report still shows formatting error.&lt;/P&gt;
&lt;P&gt;As for adding the &lt;FONT size="4" color="#FF0000"&gt;&lt;STRONG&gt;' &lt;/STRONG&gt;&lt;/FONT&gt;sign solution, I cannot implement it because the user makes further calculations on his side after receiving the report from Nprinting so it will be a tedious task for him to remove the sign.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Aditya&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2024 07:05:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Formatting-Change-when-Report-is-previewed/m-p/2483382#M42104</guid>
      <dc:creator>Aditya_Chitale</dc:creator>
      <dc:date>2024-09-25T07:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting Change when Report is previewed</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Formatting-Change-when-Report-is-previewed/m-p/2483398#M42105</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/79864"&gt;@Aditya_Chitale&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;well, if you want those values to be still stored as actual numbers/values (not text) then that is completely different requirement than in your initial post and the only way to retain formatting is to use excel based conditional formatting which I explained as last option in my previous post.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;cheers&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2024 07:48:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Formatting-Change-when-Report-is-previewed/m-p/2483398#M42105</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2024-09-25T07:48:58Z</dc:date>
    </item>
  </channel>
</rss>

