<?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 Pixel perfect and conditional formatting report PDF in Qlik NPrinting</title>
    <link>https://community.qlik.com/t5/Qlik-NPrinting/Pixel-perfect-and-conditional-formatting-report-PDF/m-p/2471828#M41828</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;
&lt;P&gt;I'm dealing with a request from management. My goal is to create a pixel perfect PDF report so that in the last column showing the totals, this is colored according to a color gradient from green to red.&lt;BR /&gt;The table shows the first 30 products ordered from most consumed to least consumed. The last column measures the deviation with respect to price and quantity changes (management control).&lt;/P&gt;
&lt;P&gt;On the QS app I solved it easily like this:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Colormix1(
Rank(r_Overall_effect_variance, 0, 1) / 30,
RGB(255, 0, 0), // Red for lowest value
RGB(0, 255, 0) // Green for the highest value
)&lt;/LI-CODE&gt;
&lt;P&gt;How can I do it the same way on pixel perfect?&lt;/P&gt;
&lt;P&gt;within the formatting rules there is neither the color mix function nor the Rank function.&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Fri, 19 Jul 2024 18:52:14 GMT</pubDate>
    <dc:creator>alexandernatale</dc:creator>
    <dc:date>2024-07-19T18:52:14Z</dc:date>
    <item>
      <title>Pixel perfect and conditional formatting report PDF</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Pixel-perfect-and-conditional-formatting-report-PDF/m-p/2471828#M41828</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;
&lt;P&gt;I'm dealing with a request from management. My goal is to create a pixel perfect PDF report so that in the last column showing the totals, this is colored according to a color gradient from green to red.&lt;BR /&gt;The table shows the first 30 products ordered from most consumed to least consumed. The last column measures the deviation with respect to price and quantity changes (management control).&lt;/P&gt;
&lt;P&gt;On the QS app I solved it easily like this:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Colormix1(
Rank(r_Overall_effect_variance, 0, 1) / 30,
RGB(255, 0, 0), // Red for lowest value
RGB(0, 255, 0) // Green for the highest value
)&lt;/LI-CODE&gt;
&lt;P&gt;How can I do it the same way on pixel perfect?&lt;/P&gt;
&lt;P&gt;within the formatting rules there is neither the color mix function nor the Rank function.&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jul 2024 18:52:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Pixel-perfect-and-conditional-formatting-report-PDF/m-p/2471828#M41828</guid>
      <dc:creator>alexandernatale</dc:creator>
      <dc:date>2024-07-19T18:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: Pixel perfect and conditional formatting report PDF</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Pixel-perfect-and-conditional-formatting-report-PDF/m-p/2471919#M41829</link>
      <description>&lt;P&gt;Hi.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;First make sure you are providing us correct information:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;according to your post you are on NPrinting 16.1&lt;/LI&gt;
&lt;LI&gt;NPrinting 16.1 never supported Qlik Sense so that will never work&lt;/LI&gt;
&lt;LI&gt;NPrinting 16.1 is long time not supported&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Regarding conditional formatting in Pixel Perfect.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;you will not be able to use colormix!&lt;/LI&gt;
&lt;LI&gt;you will need to create as many ranges of conditional values as many gradients you want in your report. This will be difficult as you dont know the actual values you may have in the report so for this to work you would have to equalize it to 0-100% so you can operate within percentages rather than absolute values&lt;BR /&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://www.youtube.com/watch?v=CEXDTVKSoos" target="_blank"&gt;https://www.youtube.com/watch?v=CEXDTVKSoos&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://community.qlik.com/t5/Qlik-NPrinting/NPrinting-November-2019-Pixel-Perfect-Conditional-Formatting/td-p/1670215" target="_blank"&gt;https://community.qlik.com/t5/Qlik-NPrinting/NPrinting-November-2019-Pixel-Perfect-Conditional-Formatting/td-p/1670215&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Lastly I would probably build it based on excel template with PDF output (which effectively is a print of excel to PDF) and use excel conditional formatting as it would be so much easier:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Lech_Miszkiewicz_0-1721607013269.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/169686i805D7906A21825CC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Lech_Miszkiewicz_0-1721607013269.png" alt="Lech_Miszkiewicz_0-1721607013269.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;cheers&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2024 00:10:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Pixel-perfect-and-conditional-formatting-report-PDF/m-p/2471919#M41829</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2024-07-22T00:10:47Z</dc:date>
    </item>
  </channel>
</rss>

