<?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 Conditional Background color in Pivot on expression to check if file exists in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Conditional-Background-color-in-Pivot-on-expression-to-check-if/m-p/1998325#M82675</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;I am trying to create a pivot table that will show if a persons file is complete. It is complete if five images are available online.&lt;/P&gt;
&lt;P&gt;It is working. The person and five online images are shown in my pivot table: you can see rows with and without these images (so some are complete others are still not):&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MrBosch_1-1667101472755.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/92439iC600D44B63087443/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MrBosch_1-1667101472755.png" alt="MrBosch_1-1667101472755.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;What should I do to replace these images by a solid green background if they are found?&lt;/P&gt;
&lt;P&gt;The expressions are built like:&lt;/P&gt;
&lt;P&gt;='&lt;A href="https://www.demo.org/uploads/'&amp;amp;" target="_blank" rel="noopener"&gt;https://www.demo.org/uploads/'&amp;amp;&lt;/A&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;code&lt;/STRONG&gt;&lt;/FONT&gt;&amp;amp;'_image1.png'&lt;/P&gt;
&lt;P&gt;So attempts to enter a condition in the expressions background, like:&lt;/P&gt;
&lt;P&gt;=&lt;FONT color="#3366FF"&gt;IF&lt;/FONT&gt; &lt;FONT color="#3366FF"&gt;Len&lt;/FONT&gt;(&lt;FONT color="#3366FF"&gt;FileSize&lt;/FONT&gt;('&lt;A href="https://www.demo.org/uploads/'&amp;amp;" target="_blank" rel="noopener"&gt;https://www.demo.org/uploads/'&amp;amp;&lt;/A&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;code&lt;/STRONG&gt;&lt;/FONT&gt;&amp;amp;'_image1.png')&amp;gt;0,&lt;FONT color="#3366FF"&gt;Green&lt;/FONT&gt;()&amp;nbsp;&lt;/P&gt;
&lt;P&gt;doesn't go well...&lt;/P&gt;</description>
    <pubDate>Sun, 30 Oct 2022 03:52:49 GMT</pubDate>
    <dc:creator>MrBosch</dc:creator>
    <dc:date>2022-10-30T03:52:49Z</dc:date>
    <item>
      <title>Conditional Background color in Pivot on expression to check if file exists</title>
      <link>https://community.qlik.com/t5/App-Development/Conditional-Background-color-in-Pivot-on-expression-to-check-if/m-p/1998325#M82675</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;I am trying to create a pivot table that will show if a persons file is complete. It is complete if five images are available online.&lt;/P&gt;
&lt;P&gt;It is working. The person and five online images are shown in my pivot table: you can see rows with and without these images (so some are complete others are still not):&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MrBosch_1-1667101472755.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/92439iC600D44B63087443/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MrBosch_1-1667101472755.png" alt="MrBosch_1-1667101472755.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;What should I do to replace these images by a solid green background if they are found?&lt;/P&gt;
&lt;P&gt;The expressions are built like:&lt;/P&gt;
&lt;P&gt;='&lt;A href="https://www.demo.org/uploads/'&amp;amp;" target="_blank" rel="noopener"&gt;https://www.demo.org/uploads/'&amp;amp;&lt;/A&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;code&lt;/STRONG&gt;&lt;/FONT&gt;&amp;amp;'_image1.png'&lt;/P&gt;
&lt;P&gt;So attempts to enter a condition in the expressions background, like:&lt;/P&gt;
&lt;P&gt;=&lt;FONT color="#3366FF"&gt;IF&lt;/FONT&gt; &lt;FONT color="#3366FF"&gt;Len&lt;/FONT&gt;(&lt;FONT color="#3366FF"&gt;FileSize&lt;/FONT&gt;('&lt;A href="https://www.demo.org/uploads/'&amp;amp;" target="_blank" rel="noopener"&gt;https://www.demo.org/uploads/'&amp;amp;&lt;/A&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;code&lt;/STRONG&gt;&lt;/FONT&gt;&amp;amp;'_image1.png')&amp;gt;0,&lt;FONT color="#3366FF"&gt;Green&lt;/FONT&gt;()&amp;nbsp;&lt;/P&gt;
&lt;P&gt;doesn't go well...&lt;/P&gt;</description>
      <pubDate>Sun, 30 Oct 2022 03:52:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Conditional-Background-color-in-Pivot-on-expression-to-check-if/m-p/1998325#M82675</guid>
      <dc:creator>MrBosch</dc:creator>
      <dc:date>2022-10-30T03:52:49Z</dc:date>
    </item>
  </channel>
</rss>

