<?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: Expression in Chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-in-Chart/m-p/506034#M1146072</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you mean that the count()&amp;nbsp; function returns only 2 values (1 or 0), so, as I understand, it's possible only when you have only 1 [Estate Code] per Arrears_New.&lt;/P&gt;&lt;P&gt;If I'm right, I recommend to use such expression: Only(Arrears_New) (instead of count() function).&lt;/P&gt;&lt;P&gt;Or you could use a dirty approach like this: if (count(....) = 0, 'No', 'Yes')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Aug 2013 12:14:07 GMT</pubDate>
    <dc:creator>sparur</dc:creator>
    <dc:date>2013-08-20T12:14:07Z</dc:date>
    <item>
      <title>Expression in Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-in-Chart/m-p/506027#M1146063</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 have a Pivot chart item with expression as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Count&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;DISTINCT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;{$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Flag&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={1},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Arrears_new&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'Yes','No'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Estate Code]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;I need to see the result as 1 instead of 'Yes' and 0 instead of 'No'. could anyone help me how to change this in Pivot chart.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Aug 2013 11:29:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-in-Chart/m-p/506027#M1146063</guid>
      <dc:creator />
      <dc:date>2013-08-20T11:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: Expression in Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-in-Chart/m-p/506028#M1146065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if you are asking for this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count&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;{$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Flag&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={1},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Arrears_new&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={1,0}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Estate Code]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If not this, please explain a bit more.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Aug 2013 11:33:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-in-Chart/m-p/506028#M1146065</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-08-20T11:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: Expression in Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-in-Chart/m-p/506029#M1146067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;if(&amp;lt;your current expression&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ='Yes',1,0)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Aug 2013 11:33:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-in-Chart/m-p/506029#M1146067</guid>
      <dc:creator>abeyphilip</dc:creator>
      <dc:date>2013-08-20T11:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: Expression in Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-in-Chart/m-p/506030#M1146068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Amelia, could yu specify what you have in demensions?&lt;/P&gt;&lt;P&gt;anyway, I can't understand how do you get Yes and No as a result of Count() function. As I understand, this expression return a numbers of [Estate Code].&lt;/P&gt;&lt;P&gt;What do you try to achieve? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Aug 2013 11:34:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-in-Chart/m-p/506030#M1146068</guid>
      <dc:creator>sparur</dc:creator>
      <dc:date>2013-08-20T11:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: Expression in Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-in-Chart/m-p/506031#M1146069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This current expression can't return Yes or No &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;. It will return a number...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Aug 2013 11:35:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-in-Chart/m-p/506031#M1146069</guid>
      <dc:creator>sparur</dc:creator>
      <dc:date>2013-08-20T11:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: Expression in Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-in-Chart/m-p/506032#M1146070</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;Create one more flag in script as if(Arrears_New='Yes',1,if(Arrears_New='No',0)) as Arrears_New&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then use count&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;{$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Flag&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={1},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Arrears_new&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={1,0}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Estate Code]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Khadeer&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Aug 2013 11:36:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-in-Chart/m-p/506032#M1146070</guid>
      <dc:creator>khadeer</dc:creator>
      <dc:date>2013-08-20T11:36:24Z</dc:date>
    </item>
    <item>
      <title>Re: Expression in Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-in-Chart/m-p/506033#M1146071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to get instead of 1 Yes and instead of 0 No&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;OBJECT classid="CLSID:A806E1D7-B077-415E-AF08-28AFE10DDF4A" height="304" width="923"&gt;&lt;PARAM name="_Version" value="720896" /&gt;&lt;PARAM name="_ExtentX" value="24421" /&gt;&lt;PARAM name="_ExtentY" value="8043" /&gt;&lt;PARAM name="_StockProps" value="0" /&gt;&lt;PARAM name="DocName" value="D:\Parimala Yaganti\QlikviewDesigner\Workbooks\Closure_Review.qvw" /&gt;&lt;PARAM name="UserName" value="" /&gt;&lt;PARAM name="Password" value="" /&gt;&lt;PARAM name="Publisher" value="" /&gt;&lt;PARAM name="AccessMode" value="0" /&gt;&lt;PARAM name="AllowDialog" value="1" /&gt;&lt;PARAM name="SRC" value="" /&gt;&lt;PARAM name="AutoScan" value="1" /&gt;&lt;PARAM name="ProductLevel" value="53593116" /&gt;&lt;PARAM name="ObjectID" value="Document\CH01" /&gt;&lt;/OBJECT&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Aug 2013 12:08:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-in-Chart/m-p/506033#M1146071</guid>
      <dc:creator />
      <dc:date>2013-08-20T12:08:11Z</dc:date>
    </item>
    <item>
      <title>Re: Expression in Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-in-Chart/m-p/506034#M1146072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you mean that the count()&amp;nbsp; function returns only 2 values (1 or 0), so, as I understand, it's possible only when you have only 1 [Estate Code] per Arrears_New.&lt;/P&gt;&lt;P&gt;If I'm right, I recommend to use such expression: Only(Arrears_New) (instead of count() function).&lt;/P&gt;&lt;P&gt;Or you could use a dirty approach like this: if (count(....) = 0, 'No', 'Yes')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Aug 2013 12:14:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-in-Chart/m-p/506034#M1146072</guid>
      <dc:creator>sparur</dc:creator>
      <dc:date>2013-08-20T12:14:07Z</dc:date>
    </item>
    <item>
      <title>Re: Expression in Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-in-Chart/m-p/506035#M1146073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Anatoly, It's working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Aug 2013 12:20:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-in-Chart/m-p/506035#M1146073</guid>
      <dc:creator />
      <dc:date>2013-08-20T12:20:24Z</dc:date>
    </item>
  </channel>
</rss>

