<?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: decoding a expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/decoding-a-expression/m-p/631214#M231652</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Variation of your formula do the trick perfectly. And it is very simple too &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(IsNull(Only([Product Type])),&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; ARGB(200,200,200,200&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you that is much better then my variant.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 May 2014 13:01:46 GMT</pubDate>
    <dc:creator>vadimtsushko</dc:creator>
    <dc:date>2014-05-13T13:01:46Z</dc:date>
    <item>
      <title>decoding a expression</title>
      <link>https://community.qlik.com/t5/QlikView/decoding-a-expression/m-p/631210#M231648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using this expression in Background color definantion of Expression tab&lt;/P&gt;&lt;P&gt;what it does when&amp;nbsp; some of the product types are selected in list box only they are highlighted&lt;/P&gt;&lt;P&gt;while other are grayed out , I want to know how this expression work ?? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(not match(only({1} [Product Type]),&lt;/P&gt;&lt;P&gt;$(=concat(distinct chr(39) &amp;amp; [Product Type] &amp;amp; &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;chr(39) , ' , ' ))) , argb(200,200,200,200) &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;anant&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 10:34:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/decoding-a-expression/m-p/631210#M231648</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-13T10:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: decoding a expression</title>
      <link>https://community.qlik.com/t5/QlikView/decoding-a-expression/m-p/631211#M231649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe best way to decode complex expression is to evaluate its less complex parts in same context.&lt;/P&gt;&lt;P&gt;I suppose you have chart with [Product type] as one of dimension listbox for selection in [Product type], and some expression in chart made unrelated from [Product type]?&lt;/P&gt;&lt;P&gt;If so - file in attachment shows how it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way in that case I would use less complex conditional, something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="_jivemacro_uid_1399983575853355 jive_text_macro jive_macro_code" jivemacro_uid="_1399983575853355"&gt;
&lt;P&gt;If(not only({1} [Product Type]) = only(TOTAL [Product Type]),ARGB(200,200,200,200))&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 12:36:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/decoding-a-expression/m-p/631211#M231649</guid>
      <dc:creator>vadimtsushko</dc:creator>
      <dc:date>2014-05-13T12:36:05Z</dc:date>
    </item>
    <item>
      <title>Re: decoding a expression</title>
      <link>https://community.qlik.com/t5/QlikView/decoding-a-expression/m-p/631212#M231650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vadim was almost there ... Thanks Vadim!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To get all of them highlighted and not just single values:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(len(Only([Product Type])) &amp;gt; 0,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ARGB(200,200,200,200),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; null()&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 12:49:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/decoding-a-expression/m-p/631212#M231650</guid>
      <dc:creator>Roop</dc:creator>
      <dc:date>2014-05-13T12:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: decoding a expression</title>
      <link>https://community.qlik.com/t5/QlikView/decoding-a-expression/m-p/631213#M231651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I respectfully disagree &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;Mine is working. Have you tried yours? You can try it in my file.&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 12:56:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/decoding-a-expression/m-p/631213#M231651</guid>
      <dc:creator>vadimtsushko</dc:creator>
      <dc:date>2014-05-13T12:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: decoding a expression</title>
      <link>https://community.qlik.com/t5/QlikView/decoding-a-expression/m-p/631214#M231652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Variation of your formula do the trick perfectly. And it is very simple too &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(IsNull(Only([Product Type])),&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; ARGB(200,200,200,200&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you that is much better then my variant.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 13:01:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/decoding-a-expression/m-p/631214#M231652</guid>
      <dc:creator>vadimtsushko</dc:creator>
      <dc:date>2014-05-13T13:01:46Z</dc:date>
    </item>
  </channel>
</rss>

