<?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: Conditionally hide HTML table row in Qlik NPrinting</title>
    <link>https://community.qlik.com/t5/Qlik-NPrinting/Conditionally-hide-HTML-table-row/m-p/2519276#M42663</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;My solution to this is to create whole html in the table and create content by passing it to template.&amp;nbsp;&lt;/P&gt;&lt;P&gt;See this blog post to get an idea about the approach:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://nprintingadventures.com/2020/04/24/how-to-build-html-pivot-table-in-nprinting/" target="_blank"&gt;https://nprintingadventures.com/2020/04/24/how-to-build-html-pivot-table-in-nprinting/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;once you read through this you will see that it is possible to move whole logic into content of the cell which we then pass without html encoding. That would be the approach I would use. Table in post meant to mimick pivot table making it a lot more complex. Straight table approach is much simpler in that regard so it should be relatively easy.&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;</description>
    <pubDate>Wed, 28 May 2025 04:21:32 GMT</pubDate>
    <dc:creator>Lech_Miszkiewicz</dc:creator>
    <dc:date>2025-05-28T04:21:32Z</dc:date>
    <item>
      <title>Conditionally hide HTML table row</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Conditionally-hide-HTML-table-row/m-p/2518906#M42658</link>
      <description>&lt;P&gt;I've created an NPrinting HTML report that contains an HTML table based on a straight table in Qlik Sense. It works fine. Now I would like to hide one column in NPrinting based on a condition. I created a formula that returns an HTML row if the condition is met, else an empty string:&lt;/P&gt;&lt;P&gt;=If(Include='bh', '&amp;lt;td style="border-collapse:collapse;border: 1px solid;text-align: left;"&amp;gt;%%Site%%&amp;lt;/td&amp;gt;','')&lt;/P&gt;&lt;P&gt;But the result, in an email, is all messed up.&lt;/P&gt;&lt;P&gt;Is this possible in an HTML report or do I need to use PixelPerfect instead?&lt;/P&gt;&lt;P&gt;Note that I'm on NPrinting Feb 2024 SR3 but that's not an option in the dropdown menu.&lt;/P&gt;</description>
      <pubDate>Fri, 23 May 2025 18:01:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Conditionally-hide-HTML-table-row/m-p/2518906#M42658</guid>
      <dc:creator>Lauri</dc:creator>
      <dc:date>2025-05-23T18:01:57Z</dc:date>
    </item>
    <item>
      <title>Re: Conditionally hide HTML table row</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Conditionally-hide-HTML-table-row/m-p/2518935#M42659</link>
      <description>&lt;P&gt;Hi, hard to know without seeing an example of what's happening, just guessing that maybe you also need to set the condition on the tr (and th if used) so everything fits.&lt;/P&gt;&lt;P&gt;It has passed a long time since the last I did but it's possible to set conditional columns, I don't remember exactly how I did it, and I don't have access to check it now, but it's possible with html reports.&lt;/P&gt;</description>
      <pubDate>Sat, 24 May 2025 06:48:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Conditionally-hide-HTML-table-row/m-p/2518935#M42659</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2025-05-24T06:48:42Z</dc:date>
    </item>
    <item>
      <title>Re: Conditionally hide HTML table row</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Conditionally-hide-HTML-table-row/m-p/2519066#M42662</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Official-Support-Articles/Qlik-NPrinting-Conditionally-display-a-label-based-on-the-number/ta-p/1649688" target="_blank"&gt;https://community.qlik.com/t5/Official-Support-Articles/Qlik-NPrinting-Conditionally-display-a-label-based-on-the-number/ta-p/1649688&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 May 2025 16:44:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Conditionally-hide-HTML-table-row/m-p/2519066#M42662</guid>
      <dc:creator>Frank_S</dc:creator>
      <dc:date>2025-05-26T16:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: Conditionally hide HTML table row</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Conditionally-hide-HTML-table-row/m-p/2519276#M42663</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;My solution to this is to create whole html in the table and create content by passing it to template.&amp;nbsp;&lt;/P&gt;&lt;P&gt;See this blog post to get an idea about the approach:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://nprintingadventures.com/2020/04/24/how-to-build-html-pivot-table-in-nprinting/" target="_blank"&gt;https://nprintingadventures.com/2020/04/24/how-to-build-html-pivot-table-in-nprinting/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;once you read through this you will see that it is possible to move whole logic into content of the cell which we then pass without html encoding. That would be the approach I would use. Table in post meant to mimick pivot table making it a lot more complex. Straight table approach is much simpler in that regard so it should be relatively easy.&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;</description>
      <pubDate>Wed, 28 May 2025 04:21:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Conditionally-hide-HTML-table-row/m-p/2519276#M42663</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2025-05-28T04:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: Conditionally hide HTML table row</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Conditionally-hide-HTML-table-row/m-p/2519382#M42665</link>
      <description>&lt;P&gt;Thank you, Lech. That looks like a great solution and I will try it out soon(ish).&lt;/P&gt;</description>
      <pubDate>Wed, 28 May 2025 19:38:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Conditionally-hide-HTML-table-row/m-p/2519382#M42665</guid>
      <dc:creator>Lauri</dc:creator>
      <dc:date>2025-05-28T19:38:35Z</dc:date>
    </item>
  </channel>
</rss>

