<?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: IF Condition in Chart Properties in Water Cooler</title>
    <link>https://community.qlik.com/t5/Water-Cooler/IF-Condition-in-Chart-Properties/m-p/528607#M1968</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure whether I understand you correct.&lt;/P&gt;&lt;P&gt;I have replaced , by &amp;amp; in your expression. See the expression below.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;IF (Status = 'InActive',(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;concat&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;[KeyFig_Name2_XY]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;, '|') &amp;amp; 'A + B'),&lt;SPAN style="font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 8pt; font-family: inherit; color: #0000ff;"&gt;concat&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 8pt; font-family: inherit; color: #0000ff;"&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 8pt; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 8pt; font-family: inherit; color: #800000;"&gt;[KeyFig_Name]&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;, '|') &amp;amp; 'A '))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Oct 2013 17:40:38 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-10-25T17:40:38Z</dc:date>
    <item>
      <title>IF Condition in Chart Properties</title>
      <link>https://community.qlik.com/t5/Water-Cooler/IF-Condition-in-Chart-Properties/m-p/528606#M1967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I need to revise and need help on my conditional formula which I inherited ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The original formula is&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;concat&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[KeyFig_Name2_XY]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, '|'), 'A + B')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;And I need to revise that&amp;nbsp; IF my field&amp;nbsp; Status = Active, then KeyFig_Name (from different field) = A&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;So, I came up with this revise formula but it doesn't work:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;=IF (Status = 'InActive',(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;concat&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[KeyFig_Name2_XY]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, '|'), 'A + B'),&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;concat&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[KeyFig_Name]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, '|'), 'A '))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Is there something wrong to this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Oct 2013 17:30:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/IF-Condition-in-Chart-Properties/m-p/528606#M1967</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-25T17:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: IF Condition in Chart Properties</title>
      <link>https://community.qlik.com/t5/Water-Cooler/IF-Condition-in-Chart-Properties/m-p/528607#M1968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure whether I understand you correct.&lt;/P&gt;&lt;P&gt;I have replaced , by &amp;amp; in your expression. See the expression below.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;IF (Status = 'InActive',(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;concat&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;[KeyFig_Name2_XY]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;, '|') &amp;amp; 'A + B'),&lt;SPAN style="font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 8pt; font-family: inherit; color: #0000ff;"&gt;concat&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 8pt; font-family: inherit; color: #0000ff;"&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 8pt; font-family: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 8pt; font-family: inherit; color: #800000;"&gt;[KeyFig_Name]&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;, '|') &amp;amp; 'A '))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Oct 2013 17:40:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/IF-Condition-in-Chart-Properties/m-p/528607#M1968</guid>
      <dc:creator />
      <dc:date>2013-10-25T17:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: IF Condition in Chart Properties</title>
      <link>https://community.qlik.com/t5/Water-Cooler/IF-Condition-in-Chart-Properties/m-p/528608#M1969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Im not the owner of the question, but yhea this one works!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Oct 2013 17:46:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/IF-Condition-in-Chart-Properties/m-p/528608#M1969</guid>
      <dc:creator />
      <dc:date>2013-10-25T17:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: IF Condition in Chart Properties</title>
      <link>https://community.qlik.com/t5/Water-Cooler/IF-Condition-in-Chart-Properties/m-p/528609#M1970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi! Venu and Raul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It didn't work ...Is it something to do with the other formula under Definition ?&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;KeyFig_NameZ&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;= 'Demand',KeyFi&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;g_Amt&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Oct 2013 18:17:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/IF-Condition-in-Chart-Properties/m-p/528609#M1970</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-25T18:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: IF Condition in Chart Properties</title>
      <link>https://community.qlik.com/t5/Water-Cooler/IF-Condition-in-Chart-Properties/m-p/528610#M1971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please explain your problem clearly (if possible then attach your sample application). Why you need CONCAT in your earlier expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of using IF condition, you can use SET expression as below:&lt;/P&gt;&lt;P&gt;SUM({&amp;lt;KeyFig_NameZ = {'Demand'}&amp;gt;} KeyFig_Amt)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Oct 2013 18:22:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/IF-Condition-in-Chart-Properties/m-p/528610#M1971</guid>
      <dc:creator />
      <dc:date>2013-10-25T18:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: Re: IF Condition in Chart Properties</title>
      <link>https://community.qlik.com/t5/Water-Cooler/IF-Condition-in-Chart-Properties/m-p/528611#M1972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look i let you a simple example with dummy data, hope this helps!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Oct 2013 18:22:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/IF-Condition-in-Chart-Properties/m-p/528611#M1972</guid>
      <dc:creator />
      <dc:date>2013-10-25T18:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: Re: IF Condition in Chart Properties</title>
      <link>https://community.qlik.com/t5/Water-Cooler/IF-Condition-in-Chart-Properties/m-p/528612#M1973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Raul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your sample really helps a lot...I initially place my formula in the conditional box&amp;nbsp;&amp;nbsp; instead&amp;nbsp; of the Definition box&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Oct 2013 20:33:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/IF-Condition-in-Chart-Properties/m-p/528612#M1973</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-25T20:33:53Z</dc:date>
    </item>
  </channel>
</rss>

