<?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 Condition in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-Condition/m-p/33200#M511909</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, thanks for reply, but i have already did that, and it show me "0"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i remove the second condition &lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Sum(CONSUMO_TOTALE_KWH)&lt;STRONG&gt;&amp;lt;=&lt;/STRONG&gt;20000000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;it show me the value&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;why?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/196455_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Mar 2018 11:24:10 GMT</pubDate>
    <dc:creator>danosoft</dc:creator>
    <dc:date>2018-03-15T11:24:10Z</dc:date>
    <item>
      <title>Expression Condition</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Condition/m-p/33197#M511905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have problem with this expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(Sum(CONSUMO_TOTALE_KWH)&amp;gt;=2000000,Sum(CONSUMO_TOTALE_KWH),0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need to put another condition like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(CONSUMO_TOTALE_KWH)&amp;gt;=20000000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but if i put it in the IF expression, the result is: 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i do&amp;nbsp; an expression to show me the SUM of my field CONSUMO_TOTALE_KWH where it need &amp;gt;= 2000000 and &amp;lt;= 20000000&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2018 10:31:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Condition/m-p/33197#M511905</guid>
      <dc:creator>danosoft</dc:creator>
      <dc:date>2018-03-15T10:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Condition</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Condition/m-p/33198#M511906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like:&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; font-size: 13px;"&gt;=if(&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum(CONSUMO_TOTALE_KWH)&amp;gt;=2000000 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;AND&lt;/STRONG&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; font-size: 13px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum(CONSUMO_TOTALE_KWH)&lt;STRONG&gt;&amp;lt;=&lt;/STRONG&gt;20000000&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;,&lt;/STRONG&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; font-size: 13px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum(CONSUMO_TOTALE_KWH)&lt;STRONG&gt;,&lt;/STRONG&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; font-size: 13px;"&gt;&amp;nbsp; 0)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2018 10:37:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Condition/m-p/33198#M511906</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2018-03-15T10:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Condition</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Condition/m-p/33199#M511907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=if(Sum(CONSUMO_TOTALE_KWH)&amp;gt;=2000000 and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum(CONSUMO_TOTALE_KWH) &amp;lt;=&lt;/SPAN&gt; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; 20000000&lt;/SPAN&gt;,Sum(CONSUMO_TOTALE_KWH),0)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2018 10:41:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Condition/m-p/33199#M511907</guid>
      <dc:creator>chinnuchinni</dc:creator>
      <dc:date>2018-03-15T10:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Condition</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Condition/m-p/33200#M511909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, thanks for reply, but i have already did that, and it show me "0"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i remove the second condition &lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Sum(CONSUMO_TOTALE_KWH)&lt;STRONG&gt;&amp;lt;=&lt;/STRONG&gt;20000000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;it show me the value&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;why?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/196455_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2018 11:24:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Condition/m-p/33200#M511909</guid>
      <dc:creator>danosoft</dc:creator>
      <dc:date>2018-03-15T11:24:10Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Condition</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Condition/m-p/33201#M511910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;POD = {"=Sum(CONSUMO_TOTALE_KWH) &amp;gt;= 2000000 and Sum(CONSUMO_TOTALE_KWH) &amp;lt;= 20000000"}&amp;gt;} CONSUMO_TOTALE_KWH)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2018 11:37:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Condition/m-p/33201#M511910</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-03-15T11:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Condition</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Condition/m-p/33202#M511911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in the expression tab you can use sum of rows.&lt;IMG alt="sum.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/196456_sum.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2018 11:54:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Condition/m-p/33202#M511911</guid>
      <dc:creator>chinnuchinni</dc:creator>
      <dc:date>2018-03-15T11:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Condition</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Condition/m-p/33203#M511913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great, this is OK!!!! Thanks, you!!&lt;/P&gt;&lt;P&gt;Can you explaint to me why the i set :&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if(Sum(CONSUMO_TOTALE_KWH)&amp;gt;=2000000 and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum(CONSUMO_TOTALE_KWH) &amp;lt;=&lt;/SPAN&gt; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; 20000000&lt;/SPAN&gt;,Sum(CONSUMO_TOTALE_KWH),0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;not work right,&amp;nbsp; and this you write is work ok? Thanks you Sunny&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2018 13:00:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Condition/m-p/33203#M511913</guid>
      <dc:creator>danosoft</dc:creator>
      <dc:date>2018-03-15T13:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Condition</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Condition/m-p/33204#M511914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This has to do with the fact that the total row also checks for the if statement... but at the total row the sum(&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;CONSUMO_TOTALE_KWH&lt;/STRONG&gt;) is most likely greater than &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;20000000&lt;/STRONG&gt; which is why it shows 0. In order to do sum of rows... you can try this&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/ChartFunctions/NestedAggregations/sum-of-rows-pivot-tables.htm" title="http://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/ChartFunctions/NestedAggregations/sum-of-rows-pivot-tables.htm"&gt;http://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/ChartFunctions/NestedAggregations/sum-of-rows…&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2018 13:09:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Condition/m-p/33204#M511914</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-03-15T13:09:26Z</dc:date>
    </item>
  </channel>
</rss>

