<?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 Why sum(distinct fabs($(Var) -([Variable]))) = ERROR ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Why-sum-distinct-fabs-Var-Variable-ERROR/m-p/209264#M64327</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just for testing purposes, create a new text object and write&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;=$(Var)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;and likewise without $(). In the first case, it should return the result of the formula (avg([Variable])) in a numeric format and in the second, the formula itself. Is that right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Sep 2010 12:36:46 GMT</pubDate>
    <dc:creator>Miguel_Angel_Baeyens</dc:creator>
    <dc:date>2010-09-20T12:36:46Z</dc:date>
    <item>
      <title>Why sum(distinct fabs($(Var) -([Variable]))) = ERROR ?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-sum-distinct-fabs-Var-Variable-ERROR/m-p/209261#M64324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hellow, I think you will help me.&lt;BR /&gt;&lt;BR /&gt;I Have in pivot table : sum( distinct fabs ( $(Var) - ([Variable]) ) ) = error , { Var = avg( [Variable] ) } ;&lt;BR /&gt; sum( distinct fabs ( avg( [Variable] ) - ([Variable]) ) ) = error&lt;BR /&gt;&lt;BR /&gt;But : sum(distinct fabs(4.44 -([Variable]))) = all right&lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;WHY ??????&lt;/B&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Sep 2010 12:07:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-sum-distinct-fabs-Var-Variable-ERROR/m-p/209261#M64324</guid>
      <dc:creator />
      <dc:date>2010-09-20T12:07:16Z</dc:date>
    </item>
    <item>
      <title>Why sum(distinct fabs($(Var) -([Variable]))) = ERROR ?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-sum-distinct-fabs-Var-Variable-ERROR/m-p/209262#M64325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;How did you create that variable? Try not using dollar expansion&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;sum(distinct fabs(var -([Variable])))&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Hope that helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Sep 2010 12:16:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-sum-distinct-fabs-Var-Variable-ERROR/m-p/209262#M64325</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-09-20T12:16:35Z</dc:date>
    </item>
    <item>
      <title>Why sum(distinct fabs($(Var) -([Variable]))) = ERROR ?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-sum-distinct-fabs-Var-Variable-ERROR/m-p/209263#M64326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Variable I create through the "Variable Overview".&lt;BR /&gt;&lt;BR /&gt;Without '$' not work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Sep 2010 12:30:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-sum-distinct-fabs-Var-Variable-ERROR/m-p/209263#M64326</guid>
      <dc:creator />
      <dc:date>2010-09-20T12:30:16Z</dc:date>
    </item>
    <item>
      <title>Why sum(distinct fabs($(Var) -([Variable]))) = ERROR ?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-sum-distinct-fabs-Var-Variable-ERROR/m-p/209264#M64327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just for testing purposes, create a new text object and write&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;=$(Var)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;and likewise without $(). In the first case, it should return the result of the formula (avg([Variable])) in a numeric format and in the second, the formula itself. Is that right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Sep 2010 12:36:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-sum-distinct-fabs-Var-Variable-ERROR/m-p/209264#M64327</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-09-20T12:36:46Z</dc:date>
    </item>
    <item>
      <title>Why sum(distinct fabs($(Var) -([Variable]))) = ERROR ?</title>
      <link>https://community.qlik.com/t5/QlikView/Why-sum-distinct-fabs-Var-Variable-ERROR/m-p/209265#M64328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your help, I solved the problem, considering a "avg(Variable)" in the script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Sep 2010 16:14:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-sum-distinct-fabs-Var-Variable-ERROR/m-p/209265#M64328</guid>
      <dc:creator />
      <dc:date>2010-09-21T16:14:25Z</dc:date>
    </item>
  </channel>
</rss>

