<?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: Colors with Custom Expression on Null values in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Colors-with-Custom-Expression-on-Null-values/m-p/1420476#M33698</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pick(wildmatch(if(IsNull([Resolution]), 'Unassigned', 'Assigned' ), 'Unassigned', 'Assigned'),&lt;/P&gt;&lt;P&gt;RGB(72,196,117), RGB(231,97,74)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Sep 2017 05:06:22 GMT</pubDate>
    <dc:creator>shraddha_g</dc:creator>
    <dc:date>2017-09-15T05:06:22Z</dc:date>
    <item>
      <title>Colors with Custom Expression on Null values</title>
      <link>https://community.qlik.com/t5/App-Development/Colors-with-Custom-Expression-on-Null-values/m-p/1420475#M33697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to use a custom expression to display a Green/Red color output on a donut chart, but nothing is working.&amp;nbsp; I define anything null in the field as 'Unassigned' otherwise 'Assigned'.&amp;nbsp; Here are the expressions involved.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension&lt;/P&gt;&lt;P&gt;=if(IsNull([Resolution]), 'Unassigned', 'Assigned' )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Colors and Legend&lt;/P&gt;&lt;P&gt;=if(IsNull([Resolution), RGB(72,196,117), RGB(231,97,74))&lt;/P&gt;&lt;P&gt;Also tried&lt;/P&gt;&lt;P&gt;=if(IsNull([Resolution]), RGB(72,196,117), if(Not isNull([Resolution]), RGB(231,97,74), RGB(0,0,0)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only color displayed is Green (Not red for the Unassigned/Null values)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen Shot 2017-09-14 at 4.02.49 PM.png" class="jive-image image-1" src="/legacyfs/online/176644_Screen Shot 2017-09-14 at 4.02.49 PM.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2017 21:13:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Colors-with-Custom-Expression-on-Null-values/m-p/1420475#M33697</guid>
      <dc:creator>joshakehurst</dc:creator>
      <dc:date>2017-09-14T21:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: Colors with Custom Expression on Null values</title>
      <link>https://community.qlik.com/t5/App-Development/Colors-with-Custom-Expression-on-Null-values/m-p/1420476#M33698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pick(wildmatch(if(IsNull([Resolution]), 'Unassigned', 'Assigned' ), 'Unassigned', 'Assigned'),&lt;/P&gt;&lt;P&gt;RGB(72,196,117), RGB(231,97,74)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2017 05:06:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Colors-with-Custom-Expression-on-Null-values/m-p/1420476#M33698</guid>
      <dc:creator>shraddha_g</dc:creator>
      <dc:date>2017-09-15T05:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: Colors with Custom Expression on Null values</title>
      <link>https://community.qlik.com/t5/App-Development/Colors-with-Custom-Expression-on-Null-values/m-p/1420477#M33699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Josh, Shraddha,&lt;/P&gt;&lt;P&gt;I am not sure why both of your expressions are not working.May be you can make some change to the load script.&lt;/P&gt;&lt;P&gt;Please check the attached app.&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2017 07:20:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Colors-with-Custom-Expression-on-Null-values/m-p/1420477#M33699</guid>
      <dc:creator>Neymar_Jr</dc:creator>
      <dc:date>2017-09-15T07:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: Colors with Custom Expression on Null values</title>
      <link>https://community.qlik.com/t5/App-Development/Colors-with-Custom-Expression-on-Null-values/m-p/1420478#M33700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Once you use this in Load script you don't have to apply isnull() again in front end.&lt;/P&gt;&lt;P&gt;if you are using&lt;/P&gt;&lt;P&gt;if(IsNull([Resolution]), 'Unassigned', 'Assigned' ) as Resolution&lt;/P&gt;&lt;P&gt;in Load script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You color by expression changes to pick(wildmatch(Resolution, 'Unassigned', 'Assigned'),&lt;/P&gt;&lt;P&gt;RGB(72,196,117), RGB(231,97,74)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check Rajesh's modified app&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2017 07:34:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Colors-with-Custom-Expression-on-Null-values/m-p/1420478#M33700</guid>
      <dc:creator>shraddha_g</dc:creator>
      <dc:date>2017-09-15T07:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: Colors with Custom Expression on Null values</title>
      <link>https://community.qlik.com/t5/App-Development/Colors-with-Custom-Expression-on-Null-values/m-p/1420479#M33701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or may be this -&lt;/P&gt;&lt;P&gt;Dimension - Aggr(if(isnull([Resolution]),'Unassigned','Assigned'),&lt;STRONG&gt;[Field]&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;and in the color by expression - &lt;/P&gt;&lt;P&gt;if(Aggr(if(isnull(Resolution),'Unassigned','Assigned'),&lt;STRONG style="font-size: 13.3333px;"&gt;[Field]&lt;/STRONG&gt;)='Unassigned',&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;RGB(72,196,117), RGB(231,97,74)&lt;/SPAN&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2017 07:36:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Colors-with-Custom-Expression-on-Null-values/m-p/1420479#M33701</guid>
      <dc:creator>Neymar_Jr</dc:creator>
      <dc:date>2017-09-15T07:36:07Z</dc:date>
    </item>
    <item>
      <title>Re: Colors with Custom Expression on Null values</title>
      <link>https://community.qlik.com/t5/App-Development/Colors-with-Custom-Expression-on-Null-values/m-p/1420480#M33702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is a very strange approach, but it works.&amp;nbsp; Thanks for the tip.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2017 14:32:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Colors-with-Custom-Expression-on-Null-values/m-p/1420480#M33702</guid>
      <dc:creator>joshakehurst</dc:creator>
      <dc:date>2017-09-15T14:32:50Z</dc:date>
    </item>
  </channel>
</rss>

