<?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 with variable? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/FABS-with-variable/m-p/1002334#M340655</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As pointed out to me by an earlier response, having the = causes issues such as:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/931044?et=watches.email.thread#931044" title="https://community.qlik.com/message/931044?et=watches.email.thread#931044"&gt;https://community.qlik.com/message/931044?et=watches.email.thread#931044&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="108799" alt="12-9-2015 8-26-05 AM.jpg" class="jive-image image-1" src="/legacyfs/online/108799_12-9-2015 8-26-05 AM.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Dec 2015 18:01:07 GMT</pubDate>
    <dc:creator>cbaqir</dc:creator>
    <dc:date>2015-12-11T18:01:07Z</dc:date>
    <item>
      <title>FABS with variable?</title>
      <link>https://community.qlik.com/t5/QlikView/FABS-with-variable/m-p/1002321#M340642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I copied this expression into a text box, I see &lt;EM&gt;Error: Error in expression: ')' expected.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;((&lt;/SPAN&gt;&lt;STRONG style="color: #808080; font-size: 8pt;"&gt;&lt;EM&gt;$(vForecastRound)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;=0 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style="color: #808080; font-size: 8pt;"&gt;&lt;EM&gt;$(vActualRound)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;=0), &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;IsNull&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Null&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;()), &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;FABS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;STRONG style="color: #808080; font-size: 8pt;"&gt;&lt;EM&gt;$(vNewVariance)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&amp;gt;1,0, 1-&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;FABS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;STRONG style="color: #808080; font-size: 8pt;"&gt;&lt;EM&gt;$(vNewVariance)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;))) &lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;EM&gt;I think the issue is related to &lt;SPAN style="color: #0000ff;"&gt;FABS&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="color: #ff8000; text-decoration: underline;"&gt;(&lt;/SPAN&gt;&lt;EM style="color: #808080;"&gt;$(vNewVariance)) &lt;/EM&gt;&lt;/STRONG&gt; because this alone gives me the same error. Does FABS() not work in this case for some reason?&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Cassandra&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Dec 2015 15:27:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FABS-with-variable/m-p/1002321#M340642</guid>
      <dc:creator>cbaqir</dc:creator>
      <dc:date>2015-12-11T15:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: FABS with variable?</title>
      <link>https://community.qlik.com/t5/QlikView/FABS-with-variable/m-p/1002322#M340643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does this alone works fine? -&amp;gt; &lt;EM style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-size: 13.3333px; font-family: inherit; color: #808080;"&gt;$(vNewVariance)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Dec 2015 15:34:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FABS-with-variable/m-p/1002322#M340643</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-12-11T15:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: FABS with variable?</title>
      <link>https://community.qlik.com/t5/QlikView/FABS-with-variable/m-p/1002323#M340644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Dec 2015 15:35:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FABS-with-variable/m-p/1002323#M340644</guid>
      <dc:creator>cbaqir</dc:creator>
      <dc:date>2015-12-11T15:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: FABS with variable?</title>
      <link>https://community.qlik.com/t5/QlikView/FABS-with-variable/m-p/1002324#M340645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the output of &lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-size: 13.3333px; font-family: inherit; color: #808080;"&gt;$(vNewVariance)&lt;/EM&gt;&lt;/STRONG&gt;? Can you share a screenshot?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Dec 2015 15:37:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FABS-with-variable/m-p/1002324#M340645</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-12-11T15:37:04Z</dc:date>
    </item>
    <item>
      <title>Re: FABS with variable?</title>
      <link>https://community.qlik.com/t5/QlikView/FABS-with-variable/m-p/1002325#M340646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you see with what Sunny asked.&lt;/P&gt;&lt;P&gt;I just tested this simply with a variable with a minus in and then wrapped in FAB() and it works fine for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Dec 2015 15:38:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FABS-with-variable/m-p/1002325#M340646</guid>
      <dc:creator>Mark_Little</dc:creator>
      <dc:date>2015-12-11T15:38:44Z</dc:date>
    </item>
    <item>
      <title>Re: FABS with variable?</title>
      <link>https://community.qlik.com/t5/QlikView/FABS-with-variable/m-p/1002326#M340647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="12-10-2015 12-35-19 PM.jpg" class="jive-image image-1" src="/legacyfs/online/108779_12-10-2015 12-35-19 PM.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variance is $(vNewVariance). Forecast Accuracy is where I can't get the expression to work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Dec 2015 15:39:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FABS-with-variable/m-p/1002326#M340647</guid>
      <dc:creator>cbaqir</dc:creator>
      <dc:date>2015-12-11T15:39:53Z</dc:date>
    </item>
    <item>
      <title>Re: FABS with variable?</title>
      <link>https://community.qlik.com/t5/QlikView/FABS-with-variable/m-p/1002327#M340648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you post a qvw? It can better help understand the situation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Dec 2015 15:41:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FABS-with-variable/m-p/1002327#M340648</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-11T15:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: FABS with variable?</title>
      <link>https://community.qlik.com/t5/QlikView/FABS-with-variable/m-p/1002328#M340649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have you formatted the percentage on the table or is it actually returning 60.9%?&lt;/P&gt;&lt;P&gt;If the percentage sign is in the variable it maybe treated as a string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Dec 2015 15:42:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FABS-with-variable/m-p/1002328#M340649</guid>
      <dc:creator>Mark_Little</dc:creator>
      <dc:date>2015-12-11T15:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: FABS with variable?</title>
      <link>https://community.qlik.com/t5/QlikView/FABS-with-variable/m-p/1002329#M340650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sample QVW attached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Dec 2015 16:15:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FABS-with-variable/m-p/1002329#M340650</guid>
      <dc:creator>cbaqir</dc:creator>
      <dc:date>2015-12-11T16:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: FABS with variable?</title>
      <link>https://community.qlik.com/t5/QlikView/FABS-with-variable/m-p/1002330#M340651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The variable is not formatted with the percentage. It returns -0.6088... The formatting is done within the table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Dec 2015 17:32:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FABS-with-variable/m-p/1002330#M340651</guid>
      <dc:creator>cbaqir</dc:creator>
      <dc:date>2015-12-11T17:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: FABS with variable?</title>
      <link>https://community.qlik.com/t5/QlikView/FABS-with-variable/m-p/1002331#M340652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Put an equal sign in the beginning of the variable for vNewVariance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=IF($(vVariance)=0,0,IF($(vForecastRound)=0,IF($(vVariance)&amp;lt;0,-1,1), ($(vVariance)/ ($(vForecastRound))))).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sounds silly but should work!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Dec 2015 17:36:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FABS-with-variable/m-p/1002331#M340652</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-11T17:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: FABS with variable?</title>
      <link>https://community.qlik.com/t5/QlikView/FABS-with-variable/m-p/1002332#M340653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do this for all of your variables. From your sample it seems thats the issue. Let me know if it works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Dec 2015 17:40:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FABS-with-variable/m-p/1002332#M340653</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-11T17:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: FABS with variable?</title>
      <link>https://community.qlik.com/t5/QlikView/FABS-with-variable/m-p/1002333#M340654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I added "=" in vNewVariance variable. Can you check if it is producing the expected results.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="108796" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/108796_Capture.PNG" style="height: 120px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/108797_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Dec 2015 17:46:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FABS-with-variable/m-p/1002333#M340654</guid>
      <dc:creator>sinanozdemir</dc:creator>
      <dc:date>2015-12-11T17:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: FABS with variable?</title>
      <link>https://community.qlik.com/t5/QlikView/FABS-with-variable/m-p/1002334#M340655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As pointed out to me by an earlier response, having the = causes issues such as:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/931044?et=watches.email.thread#931044" title="https://community.qlik.com/message/931044?et=watches.email.thread#931044"&gt;https://community.qlik.com/message/931044?et=watches.email.thread#931044&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="108799" alt="12-9-2015 8-26-05 AM.jpg" class="jive-image image-1" src="/legacyfs/online/108799_12-9-2015 8-26-05 AM.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Dec 2015 18:01:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FABS-with-variable/m-p/1002334#M340655</guid>
      <dc:creator>cbaqir</dc:creator>
      <dc:date>2015-12-11T18:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: FABS with variable?</title>
      <link>https://community.qlik.com/t5/QlikView/FABS-with-variable/m-p/1002335#M340656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See above. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Dec 2015 18:01:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FABS-with-variable/m-p/1002335#M340656</guid>
      <dc:creator>cbaqir</dc:creator>
      <dc:date>2015-12-11T18:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: FABS with variable?</title>
      <link>https://community.qlik.com/t5/QlikView/FABS-with-variable/m-p/1002336#M340657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I needed to test the below approach and it seems to be working so you need this FABS($(=$(=vNewVariance))). The calculated variable needs to be calculated as well.:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/108824_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/108825_Capture.PNG" style="height: 196px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Dec 2015 20:24:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FABS-with-variable/m-p/1002336#M340657</guid>
      <dc:creator>sinanozdemir</dc:creator>
      <dc:date>2015-12-11T20:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: FABS with variable?</title>
      <link>https://community.qlik.com/t5/QlikView/FABS-with-variable/m-p/1002337#M340658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sinan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help but I am still a little confused. The original issue was that my Forecast Accuracy was not displaying. The expression in the chart is &lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(vNewForecastAccuracy) &lt;/EM&gt;&lt;/STRONG&gt; and the variable expression is &lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;((&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(vForecastRound)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;=0 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(vActualRound)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;=0),&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;IsNull&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Null&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;()),&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;FABS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(vNewVariance)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&amp;gt;1,0,1-&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;FABS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;((&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(vNewVariance)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;)))) &lt;/SPAN&gt;. Even if I update this to &lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;((&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(vForecastRound)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;=0 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(vActualRound)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;=0),&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;IsNull&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Null&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;()),&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;FABS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(=$(=vNewVariance))&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&amp;gt;1,0,1-&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;FABS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(=$(=vNewVariance))&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;))) , it doesn't look right.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;What am I missing?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The vNewVariance expression is defined as &lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(vVariance)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;=0,0,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(vForecastRound)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;=0,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(vVariance)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;0,-1,1), (&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(vVariance)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;/ (&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(vForecastRound)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;)))) &lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="12-11-2015 1-39-09 PM.jpg" class="jive-image image-1" src="/legacyfs/online/108826_12-11-2015 1-39-09 PM.jpg" style="width: 620px; height: 421px;" /&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Cassandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Dec 2015 20:39:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FABS-with-variable/m-p/1002337#M340658</guid>
      <dc:creator>cbaqir</dc:creator>
      <dc:date>2015-12-11T20:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: FABS with variable?</title>
      <link>https://community.qlik.com/t5/QlikView/FABS-with-variable/m-p/1002338#M340659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is the expression in the forecast accuracy column:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/108828_Capture.PNG" style="height: 217px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Is the expression correct? It seems like the columns are not available any longer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Dec 2015 20:52:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FABS-with-variable/m-p/1002338#M340659</guid>
      <dc:creator>sinanozdemir</dc:creator>
      <dc:date>2015-12-11T20:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: FABS with variable?</title>
      <link>https://community.qlik.com/t5/QlikView/FABS-with-variable/m-p/1002339#M340660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, I was playing with that expression to try to get it to work. It is normally populated with =$(vNewForecastAccuracy)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Dec 2015 21:07:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FABS-with-variable/m-p/1002339#M340660</guid>
      <dc:creator>cbaqir</dc:creator>
      <dc:date>2015-12-11T21:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: FABS with variable?</title>
      <link>https://community.qlik.com/t5/QlikView/FABS-with-variable/m-p/1002340#M340661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The general problem you are dealing with is the comments in your variables. The comments will get included in the expansion. So for example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;myvar = &lt;SPAN style="font-family: 'courier new', courier;"&gt; 1+1&amp;nbsp; // comment&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;=fabs($(myvar))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;expands to:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;=fabs(1+1) // comment)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notice the right paren for fabs() is now after the comment -- a syntax error. Remove the comments from your variable defs and it will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I debug this? Remove the label from the Forecast Accuracy Expression. Now the column heading shows the expanded expression, and you can examine the full syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com/" rel="nofollow"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://qlikviewcookbook.com/" rel="nofollow"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Dec 2015 21:25:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FABS-with-variable/m-p/1002340#M340661</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2015-12-11T21:25:18Z</dc:date>
    </item>
  </channel>
</rss>

