<?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: formula in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/formula/m-p/758463#M1298514</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nothing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you sure that in your second experiment, VARIABLEWEEK really contained the value 2? Or was it set to something else? Put a text box on your sheet with the following expression to verify the value of this variable:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;="VARIABLEWEEK = [$(VARIABLEWEEK)]"&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Dec 2014 21:55:07 GMT</pubDate>
    <dc:creator>Peter_Cammaert</dc:creator>
    <dc:date>2014-12-17T21:55:07Z</dc:date>
    <item>
      <title>formula</title>
      <link>https://community.qlik.com/t5/QlikView/formula/m-p/758462#M1298512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;I have formula&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( {&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;BMIYEAR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"$(VARIABLEYEAR)"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;BMIWEEKNR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;lt;=$(VARIABLEWEEK)"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;} SALES&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;variableyear equals 2013&lt;/P&gt;&lt;P&gt;variableweek equals 2&lt;/P&gt;&lt;P&gt;it gives me sales of year 2013 for weeknr 1 and 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but if i do&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( {&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;BMIYEAR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"$(VARIABLEYEAR)"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;BMIWEEKNR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"$(VARIABLEWEEK)"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;} SALES&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it doesnot give me sales of year 2013 for week 2, but sales of complete 2013.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do i wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/formula/m-p/758462#M1298512</guid>
      <dc:creator />
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: formula</title>
      <link>https://community.qlik.com/t5/QlikView/formula/m-p/758463#M1298514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nothing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you sure that in your second experiment, VARIABLEWEEK really contained the value 2? Or was it set to something else? Put a text box on your sheet with the following expression to verify the value of this variable:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;="VARIABLEWEEK = [$(VARIABLEWEEK)]"&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Dec 2014 21:55:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/formula/m-p/758463#M1298514</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2014-12-17T21:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: formula</title>
      <link>https://community.qlik.com/t5/QlikView/formula/m-p/758464#M1298517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;2&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Dec 2014 22:12:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/formula/m-p/758464#M1298517</guid>
      <dc:creator />
      <dc:date>2014-12-17T22:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: formula</title>
      <link>https://community.qlik.com/t5/QlikView/formula/m-p/758465#M1298520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post your document, or a reduced version with the same weird behavior?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Dec 2014 23:25:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/formula/m-p/758465#M1298520</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2014-12-17T23:25:01Z</dc:date>
    </item>
  </channel>
</rss>

