<?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: Fabs Function - Where to place it in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Fabs-Function-Where-to-place-it/m-p/1300673#M405433</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Num(FirstSortedValue({&amp;lt;TB_Numerator={"&amp;gt;=0"}&amp;gt;}Aggr(Sum(&lt;SPAN style="color: #ff0000;"&gt;Fabs(&lt;/SPAN&gt;TB_Numerator&lt;SPAN style="color: #ff0000;"&gt;)&lt;/SPAN&gt;), TB_Fact_Date, TB_Metric), -Aggr(TB_Fact_Date, TB_Fact_Date, TB_Metric)))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Num(FirstSortedValue({&amp;lt;TB_Numerator={"&amp;gt;=0"}&amp;gt;}Aggr(&lt;STRONG style="color: #ff0000; font-size: 13.3333px;"&gt;Fabs(&lt;/STRONG&gt;Sum(TB_Numerator)&lt;SPAN style="color: #ff0000;"&gt;)&lt;/SPAN&gt;, TB_Fact_Date, TB_Metric), -Aggr(TB_Fact_Date, TB_Fact_Date, TB_Metric)))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Jul 2017 12:26:39 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-07-13T12:26:39Z</dc:date>
    <item>
      <title>Fabs Function - Where to place it</title>
      <link>https://community.qlik.com/t5/QlikView/Fabs-Function-Where-to-place-it/m-p/1300670#M405430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Qlikview user&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have some negative values in my dataset which is causing my background colour not to work effectively.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My expression is as follows, and I wanted to know where I would place the Fabs function in the expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TB_Numerator is the value I need to wrap the FABS function around, without affecting the structure of the rest of the statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Num(FirstSortedValue({&amp;lt;TB_Numerator={"&amp;gt;=0"}&amp;gt;}Aggr(Sum(TB_Numerator), TB_Fact_Date, TB_Metric), -Aggr(TB_Fact_Date, TB_Fact_Date, TB_Metric)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Helen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jul 2017 08:46:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fabs-Function-Where-to-place-it/m-p/1300670#M405430</guid>
      <dc:creator>helen_pip</dc:creator>
      <dc:date>2017-07-13T08:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: Fabs Function - Where to place it</title>
      <link>https://community.qlik.com/t5/QlikView/Fabs-Function-Where-to-place-it/m-p/1300671#M405431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Taking positive values and using fabs() are not similar. Having said that, if you want to ignore the negative values you could try something 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;Num(FirstSortedValue({&amp;lt;TB_Numerator={"&amp;gt;=0"}&amp;gt;}Aggr(Sum(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;{&amp;lt;TB_Numerator={"&amp;gt;=0"}&amp;gt;}&lt;/STRONG&gt;&lt;/SPAN&gt; TB_Numerator), TB_Fact_Date, TB_Metric), -Aggr(TB_Fact_Date, TB_Fact_Date, TB_Metric)))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jul 2017 08:58:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fabs-Function-Where-to-place-it/m-p/1300671#M405431</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-07-13T08:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: Fabs Function - Where to place it</title>
      <link>https://community.qlik.com/t5/QlikView/Fabs-Function-Where-to-place-it/m-p/1300672#M405432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like this&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;Num(fabs(FirstSortedValue({&amp;lt;TB_Numerator={"&amp;gt;=0"}&amp;gt;}Aggr(Sum(TB_Numerator), TB_Fact_Date, TB_Metric), -Aggr(TB_Fact_Date, TB_Fact_Date, TB_Metric))))&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;&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; font-size: 13px;"&gt;Or &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;&lt;BR /&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;Fabs(Num(FirstSortedValue({&amp;lt;TB_Numerator={"&amp;gt;=0"}&amp;gt;}Aggr(Sum(TB_Numerator), TB_Fact_Date, TB_Metric), -Aggr(TB_Fact_Date, TB_Fact_Date, TB_Metric))))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jul 2017 08:58:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fabs-Function-Where-to-place-it/m-p/1300672#M405432</guid>
      <dc:creator>prma7799</dc:creator>
      <dc:date>2017-07-13T08:58:31Z</dc:date>
    </item>
    <item>
      <title>Re: Fabs Function - Where to place it</title>
      <link>https://community.qlik.com/t5/QlikView/Fabs-Function-Where-to-place-it/m-p/1300673#M405433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Num(FirstSortedValue({&amp;lt;TB_Numerator={"&amp;gt;=0"}&amp;gt;}Aggr(Sum(&lt;SPAN style="color: #ff0000;"&gt;Fabs(&lt;/SPAN&gt;TB_Numerator&lt;SPAN style="color: #ff0000;"&gt;)&lt;/SPAN&gt;), TB_Fact_Date, TB_Metric), -Aggr(TB_Fact_Date, TB_Fact_Date, TB_Metric)))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Num(FirstSortedValue({&amp;lt;TB_Numerator={"&amp;gt;=0"}&amp;gt;}Aggr(&lt;STRONG style="color: #ff0000; font-size: 13.3333px;"&gt;Fabs(&lt;/STRONG&gt;Sum(TB_Numerator)&lt;SPAN style="color: #ff0000;"&gt;)&lt;/SPAN&gt;, TB_Fact_Date, TB_Metric), -Aggr(TB_Fact_Date, TB_Fact_Date, TB_Metric)))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jul 2017 12:26:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fabs-Function-Where-to-place-it/m-p/1300673#M405433</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-07-13T12:26:39Z</dc:date>
    </item>
  </channel>
</rss>

