<?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: Why does my expression return a zero value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Why-does-my-expression-return-a-zero-value/m-p/621547#M681540</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;expression looks ok.&lt;/P&gt;&lt;P&gt;can you share your sample file?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Mar 2014 22:11:53 GMT</pubDate>
    <dc:creator>MK_QSL</dc:creator>
    <dc:date>2014-03-10T22:11:53Z</dc:date>
    <item>
      <title>Why does my expression return a zero value</title>
      <link>https://community.qlik.com/t5/QlikView/Why-does-my-expression-return-a-zero-value/m-p/621546#M681539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an expression written as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fabs(sum({&amp;lt;ItemCategory={'Classbook Reprints'}&amp;gt;}ITEM_COUNT))/fabs(sum({&amp;lt;ItemCategory={'Classbook Original Manuscripts'}&amp;gt;}ITEM_COUNT))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This returns a value of zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, when I break the two pieces out on their own, each returns a value. Why when I divide the sums against eachother, am I getting a zero?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first section returns a value of 130451. The 2nd section returns a value of 15583.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result I am trying to arrive at through my expression is 8.37.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 22:02:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-does-my-expression-return-a-zero-value/m-p/621546#M681539</guid>
      <dc:creator />
      <dc:date>2014-03-10T22:02:27Z</dc:date>
    </item>
    <item>
      <title>Re: Why does my expression return a zero value</title>
      <link>https://community.qlik.com/t5/QlikView/Why-does-my-expression-return-a-zero-value/m-p/621547#M681540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;expression looks ok.&lt;/P&gt;&lt;P&gt;can you share your sample file?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 22:11:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-does-my-expression-return-a-zero-value/m-p/621547#M681540</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-03-10T22:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: Why does my expression return a zero value</title>
      <link>https://community.qlik.com/t5/QlikView/Why-does-my-expression-return-a-zero-value/m-p/621548#M681541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Strange.... perhaps you need to change the Number Format Setting in the Object properties.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 22:53:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-does-my-expression-return-a-zero-value/m-p/621548#M681541</guid>
      <dc:creator>Carlos_Reyes</dc:creator>
      <dc:date>2014-03-10T22:53:35Z</dc:date>
    </item>
    <item>
      <title>Re: Why does my expression return a zero value</title>
      <link>https://community.qlik.com/t5/QlikView/Why-does-my-expression-return-a-zero-value/m-p/621549#M681542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;TRy with this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: rgba(255, 255, 255, 0);"&gt;(fabs(sum({&amp;lt;ItemCategory={'Classbook Reprints'}&amp;gt;}ITEM_COUNT)))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: rgba(255, 255, 255, 0);"&gt;/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: rgba(255, 255, 255, 0);"&gt;(fabs(sum({&amp;lt;ItemCategory={'Classbook Original Manuscripts'}&amp;gt;}ITEM_COUNT)))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 23:01:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-does-my-expression-return-a-zero-value/m-p/621549#M681542</guid>
      <dc:creator />
      <dc:date>2014-03-10T23:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: Why does my expression return a zero value</title>
      <link>https://community.qlik.com/t5/QlikView/Why-does-my-expression-return-a-zero-value/m-p/621550#M681543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where this expression is beeing used?&lt;/P&gt;&lt;P&gt;A textbox or a graph? If you´re using a graph, please check number format&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 01:35:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-does-my-expression-return-a-zero-value/m-p/621550#M681543</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2014-03-11T01:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: Why does my expression return a zero value</title>
      <link>https://community.qlik.com/t5/QlikView/Why-does-my-expression-return-a-zero-value/m-p/621551#M681544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found the issue. Apparently this type of expression won't work when using a Gauge Chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After trying the expression in a text object it works as expected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Mar 2014 14:42:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-does-my-expression-return-a-zero-value/m-p/621551#M681544</guid>
      <dc:creator />
      <dc:date>2014-03-17T14:42:08Z</dc:date>
    </item>
  </channel>
</rss>

