<?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: Error in expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Error-in-expression/m-p/86790#M756618</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I corrected the expression, instead of calculating with another column, I corrected it to the one below, but still doesnt work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF((sum({&amp;lt;GL_1={VOL},Dimension={LY}&amp;gt;}Data)=0) ,sum({&amp;lt;GL_1={VOL},Dimension={ACT}&amp;gt;}Data),0)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Sep 2018 09:08:10 GMT</pubDate>
    <dc:creator>tim_leijen</dc:creator>
    <dc:date>2018-09-19T09:08:10Z</dc:date>
    <item>
      <title>Error in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-expression/m-p/86785#M756613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yesterday I created the expression below, &lt;/P&gt;&lt;P&gt;=IF((sum({&amp;lt;GL_1={VOL},Dimension={LY}&amp;gt;}Data)=0) ,[VOL ACT],0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After copying the table to excel, I checked and the formula is working properly.&lt;/P&gt;&lt;P&gt;The only issue remains, the 0's aren't a number, and so QV can't calculate. What am I doing wrong in my formula?&lt;/P&gt;&lt;P&gt;Putting the 0 between " " or ' ' doesn't seem to solve the issue.&amp;nbsp; Any ideas?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/213900_Capture.JPG" style="height: 85px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-expression/m-p/86785#M756613</guid>
      <dc:creator>tim_leijen</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Error in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-expression/m-p/86786#M756614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;did you Format your number in tab "Number" to Integer?&lt;/P&gt;&lt;P&gt;if stil not working use num&lt;/P&gt;&lt;P&gt;=num(IF((sum({&amp;lt;GL_1={VOL},Dimension={LY}&amp;gt;}Data)=0) ,[VOL ACT],0),'#.##0')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2018 08:42:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-expression/m-p/86786#M756614</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-19T08:42:38Z</dc:date>
    </item>
    <item>
      <title>Re: Error in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-expression/m-p/86787#M756615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply Rudolf, doesn't work though... The settings for all my formulas are the same, all on "Fixed to" which does work for the others, tried all the other format settings as well though..&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Now I just tried your formula, and still no totals, so there's still an issue with the 0's.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2018 08:47:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-expression/m-p/86787#M756615</guid>
      <dc:creator>tim_leijen</dc:creator>
      <dc:date>2018-09-19T08:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: Error in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-expression/m-p/86788#M756616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think I is not considered as number as there is no operation, you are returning &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[VOL ACT] or 0 but &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[VOL ACT]is not supposed to be always a number.&lt;/SPAN&gt;&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;You should try:&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;IF((sum({&amp;lt;GL_1={VOL},Dimension={LY}&amp;gt;}Data)=0) ,sum([VOL ACT]),0)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2018 09:02:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-expression/m-p/86788#M756616</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-19T09:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: Error in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-expression/m-p/86789#M756617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry Bobbyraj, didn't work either... :S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2018 09:04:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-expression/m-p/86789#M756617</guid>
      <dc:creator>tim_leijen</dc:creator>
      <dc:date>2018-09-19T09:04:39Z</dc:date>
    </item>
    <item>
      <title>Re: Error in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-expression/m-p/86790#M756618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I corrected the expression, instead of calculating with another column, I corrected it to the one below, but still doesnt work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF((sum({&amp;lt;GL_1={VOL},Dimension={LY}&amp;gt;}Data)=0) ,sum({&amp;lt;GL_1={VOL},Dimension={ACT}&amp;gt;}Data),0)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2018 09:08:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-expression/m-p/86790#M756618</guid>
      <dc:creator>tim_leijen</dc:creator>
      <dc:date>2018-09-19T09:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: Error in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-expression/m-p/86791#M756620</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;Sum({&amp;lt;Data = {"=Sum({&amp;lt; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;GL_1={'VOL'},Dimension={'LY'&lt;/SPAN&gt;&amp;gt;}&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Data&lt;/SPAN&gt;) =0"}&amp;gt;&amp;nbsp; }[&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;VOL ACT]&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raman &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2018 10:58:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-expression/m-p/86791#M756620</guid>
      <dc:creator>raman_rastogi</dc:creator>
      <dc:date>2018-09-19T10:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: Error in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-expression/m-p/86792#M756625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raman, just tried, but also this one isn't working.... thanks for your suggestion anyway!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2018 11:00:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-expression/m-p/86792#M756625</guid>
      <dc:creator>tim_leijen</dc:creator>
      <dc:date>2018-09-19T11:00:03Z</dc:date>
    </item>
  </channel>
</rss>

