<?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: Expression returns a - rather than figure expected in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-returns-a-rather-than-figure-expected/m-p/1234631#M857430</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;Month = {&lt;SPAN style="color: #ff0000;"&gt;'&lt;/SPAN&gt;$(&lt;SPAN style="color: #ff0000;"&gt;=&lt;/SPAN&gt;vCurrentMonth)&lt;SPAN style="color: #ff0000;"&gt;'&lt;/SPAN&gt;}&amp;gt;} Forecast)/4.3&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Feb 2017 10:06:57 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-02-08T10:06:57Z</dc:date>
    <item>
      <title>Expression returns a - rather than figure expected</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-returns-a-rather-than-figure-expected/m-p/1234630#M857429</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 have a report I am trying to produce that shows our current stocks, packaging stocks and sales forecast.&lt;/P&gt;&lt;P&gt;I have setup a variable to give me current month which in my expression I divide by 4.3 to give me the forecast in weeks but for some reason it returns a -.&lt;/P&gt;&lt;P&gt;I've checked the link between the 2 tables and I can't see anything wrong there. If I just interrogate the forecast data I can return a figure which is correct but not using the variable.&lt;/P&gt;&lt;P&gt;It's going to be something simple but for the life of me I can't see what it is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached screenshots of the script and expressions etc. Any pointers in the right direction would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QV1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/152417_QV1.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QV2.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/152419_QV2.JPG" style="width: 620px; height: 237px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QV3.JPG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/152423_QV3.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QV4.JPG" class="image-4 jive-image" src="https://community.qlik.com/legacyfs/online/152424_QV4.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QV5.JPG" class="image-5 jive-image" src="https://community.qlik.com/legacyfs/online/152425_QV5.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Steve.&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/Expression-returns-a-rather-than-figure-expected/m-p/1234630#M857429</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Expression returns a - rather than figure expected</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-returns-a-rather-than-figure-expected/m-p/1234631#M857430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;Month = {&lt;SPAN style="color: #ff0000;"&gt;'&lt;/SPAN&gt;$(&lt;SPAN style="color: #ff0000;"&gt;=&lt;/SPAN&gt;vCurrentMonth)&lt;SPAN style="color: #ff0000;"&gt;'&lt;/SPAN&gt;}&amp;gt;} Forecast)/4.3&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2017 10:06:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-returns-a-rather-than-figure-expected/m-p/1234631#M857430</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-02-08T10:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: Expression returns a - rather than figure expected</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-returns-a-rather-than-figure-expected/m-p/1234632#M857431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Steve,&lt;/P&gt;&lt;P&gt;Maybe the problem is in the set analysis of the expression... Try this expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;Month={$(&lt;STRONG style=": ; color: #ff0000;"&gt;#&lt;/STRONG&gt;vCurrentMonth)}&amp;gt;} Forecast) / 4.3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it serves...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;H&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2017 10:09:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-returns-a-rather-than-figure-expected/m-p/1234632#M857431</guid>
      <dc:creator>hector_munoz</dc:creator>
      <dc:date>2017-02-08T10:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: Expression returns a - rather than figure expected</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-returns-a-rather-than-figure-expected/m-p/1234633#M857432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Steve,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your Variable is called CurrentMonth but your set analysis is for &lt;STRONG&gt;v&lt;/STRONG&gt;CurrentMonth.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2017 10:10:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-returns-a-rather-than-figure-expected/m-p/1234633#M857432</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-08T10:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: Expression returns a - rather than figure expected</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-returns-a-rather-than-figure-expected/m-p/1234634#M857433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry that didn't change anything still showing -&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2017 10:33:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-returns-a-rather-than-figure-expected/m-p/1234634#M857433</guid>
      <dc:creator />
      <dc:date>2017-02-08T10:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: Expression returns a - rather than figure expected</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-returns-a-rather-than-figure-expected/m-p/1234635#M857434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry that didn't change anything, still showing -&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2017 10:33:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-returns-a-rather-than-figure-expected/m-p/1234635#M857434</guid>
      <dc:creator />
      <dc:date>2017-02-08T10:33:47Z</dc:date>
    </item>
    <item>
      <title>Re: Expression returns a - rather than figure expected</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-returns-a-rather-than-figure-expected/m-p/1234636#M857435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you check without the variable?/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;Month = {'$(=Month(Today()))'}&amp;gt;} Forecast)/4.3&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2017 10:35:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-returns-a-rather-than-figure-expected/m-p/1234636#M857435</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-02-08T10:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: Expression returns a - rather than figure expected</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-returns-a-rather-than-figure-expected/m-p/1234637#M857436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Image showing Variable as &lt;STRONG&gt;CurrentMonth&lt;/STRONG&gt; not the &lt;STRONG&gt;vCurrentMonth&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try with it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Sum({&amp;lt;Month = {&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;'&lt;/SPAN&gt;$(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;=&lt;/SPAN&gt;CurrentMonth)&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;'&lt;/SPAN&gt;}&amp;gt;} Forecast)/4.3&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;SPAN style="font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;&lt;A _jive_internal="true" class="jive-acclaim-likelink" data-command="like" data-object-id="1208400" data-object-type="2" href="https://community.qlik.com/message/1208431?et=watches.email.thread" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;"&gt;Re: Expression returns a - rather than figure expected&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2017 10:36:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-returns-a-rather-than-figure-expected/m-p/1234637#M857436</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-02-08T10:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: Expression returns a - rather than figure expected</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-returns-a-rather-than-figure-expected/m-p/1234638#M857437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Should your variable be &lt;SPAN style="text-decoration: line-through;"&gt;&lt;SPAN style="color: #ff0000; text-decoration: line-through;"&gt;v&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;CurrentMonth rather than &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vCurrentMonth ?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2017 10:38:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-returns-a-rather-than-figure-expected/m-p/1234638#M857437</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-02-08T10:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: Expression returns a - rather than figure expected</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-returns-a-rather-than-figure-expected/m-p/1234639#M857438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Anil, that worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2017 10:49:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-returns-a-rather-than-figure-expected/m-p/1234639#M857438</guid>
      <dc:creator />
      <dc:date>2017-02-08T10:49:17Z</dc:date>
    </item>
  </channel>
</rss>

