<?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: Conditional statement in Chart expression !!!! in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Conditional-statement-in-Chart-expression/m-p/585028#M217133</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is that values across all the months are getting changed to 0. Instead i want to change the value only for those month for which it is &amp;lt;=30.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Apr 2014 10:16:46 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-04-01T10:16:46Z</dc:date>
    <item>
      <title>Conditional statement in Chart expression !!!!</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-statement-in-Chart-expression/m-p/585025#M217130</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 trying to show the values in the column chart based on a conditional statement. But the expression is not working. Can anyone please help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is the expression that i am using.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Date={"&amp;gt;=$(DynamicMonthTrend6)"}*{"&amp;lt;=$(=Date(Max(Date)))"}, Quarter=,&amp;nbsp; [Question]={'Completion Rate'}&amp;gt;}&lt;/P&gt;&lt;P&gt;if([Total Responses]&amp;lt;=30,0,[Total Responses]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date={"&amp;gt;=$(DynamicMonthTrend6)"}*{"&amp;lt;=$(=Date(Max(Date)))"}: This is defining the time period i.e. months across which columns would be computed i.e "Total Responses".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to show sum of "Total Responses" when is &amp;gt;30 else 0 should be shown for that month.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Apr 2014 09:03:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-statement-in-Chart-expression/m-p/585025#M217130</guid>
      <dc:creator />
      <dc:date>2014-04-01T09:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional statement in Chart expression !!!!</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-statement-in-Chart-expression/m-p/585026#M217131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the problem is surely related to this part of expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Date={"&amp;gt;=$(DynamicMonthTrend6)"}*{"&amp;lt;=$(=Date(Max(Date)))"}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;if you need a range just do:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Date={"&amp;gt;=$(DynamicMonthTrend6)&amp;lt;=$(=Date(Max(Date)))"}&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Apr 2014 09:09:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-statement-in-Chart-expression/m-p/585026#M217131</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-04-01T09:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional statement in Chart expression !!!!</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-statement-in-Chart-expression/m-p/585027#M217132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is also not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;Date={"&amp;gt;=$(DynamicMonthTrend6)&amp;lt;=$(=Date(Max(Date)))"}, Quarter=,&amp;nbsp; [Question]={'Completion Rate'}&amp;gt;}&lt;/P&gt;&lt;P&gt;if([Total Responses]&amp;lt;=30,0,[Total Responses]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i remove the conditional statement and define it as below then it is working fine. &lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;Date={"&amp;gt;=$(DynamicMonthTrend6)&amp;lt;=$(=Date(Max(Date)))"}, Quarter=,&amp;nbsp; [Question]={'Completion Rate'}&amp;gt;}&lt;/P&gt;&lt;P&gt;[Total Responses])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am i defining the conditional statement correctly?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Apr 2014 09:18:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-statement-in-Chart-expression/m-p/585027#M217132</guid>
      <dc:creator />
      <dc:date>2014-04-01T09:18:32Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional statement in Chart expression !!!!</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-statement-in-Chart-expression/m-p/585028#M217133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is that values across all the months are getting changed to 0. Instead i want to change the value only for those month for which it is &amp;lt;=30.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Apr 2014 10:16:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-statement-in-Chart-expression/m-p/585028#M217133</guid>
      <dc:creator />
      <dc:date>2014-04-01T10:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional statement in Chart expression !!!!</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-statement-in-Chart-expression/m-p/585029#M217134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you post your documetn?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Apr 2014 10:20:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-statement-in-Chart-expression/m-p/585029#M217134</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-04-01T10:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional statement in Chart expression !!!!</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-statement-in-Chart-expression/m-p/585030#M217135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got it resolved. Actually the data was &amp;lt;30 and also Zero suppressed option was enabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Apr 2014 13:23:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-statement-in-Chart-expression/m-p/585030#M217135</guid>
      <dc:creator />
      <dc:date>2014-04-01T13:23:58Z</dc:date>
    </item>
  </channel>
</rss>

