<?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: Using variables in a sum formula in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-variables-in-a-sum-formula/m-p/1378304#M821689</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a LOT &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Aug 2017 10:13:18 GMT</pubDate>
    <dc:creator>fabricius</dc:creator>
    <dc:date>2017-08-10T10:13:18Z</dc:date>
    <item>
      <title>Using variables in a sum formula</title>
      <link>https://community.qlik.com/t5/QlikView/Using-variables-in-a-sum-formula/m-p/1378300#M821685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can not get this formula to work with a variable.&lt;/P&gt;&lt;P&gt;I want to replace the &lt;SPAN style="color: #ff0000;"&gt;6 with a variable (manually set month)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Can anyone help me?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Month={'&amp;lt;=&lt;SPAN style="color: #ff0000;"&gt;6&lt;/SPAN&gt;'},Year={"$(=Year(Today()))"},[Dept. No]={'820'},Project={'SKAND-820*'}&amp;gt;} Hours)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have made a variable "vMonth" (see below) but it does not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2017-08-10  11.53.33.png" class="jive-image image-1" src="/legacyfs/online/173035_2017-08-10  11.53.33.png" style="height: auto;" /&gt;&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/Using-variables-in-a-sum-formula/m-p/1378300#M821685</guid>
      <dc:creator>fabricius</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Using variables in a sum formula</title>
      <link>https://community.qlik.com/t5/QlikView/Using-variables-in-a-sum-formula/m-p/1378301#M821686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How did you try putting the variable in the expression? 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;&lt;EM&gt;Sum({&amp;lt;Month={'&amp;lt;=&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;EM&gt;$(vMonth)&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;EM&gt;'},... ?&lt;/EM&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;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2017 09:59:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-variables-in-a-sum-formula/m-p/1378301#M821686</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-08-10T09:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: Using variables in a sum formula</title>
      <link>https://community.qlik.com/t5/QlikView/Using-variables-in-a-sum-formula/m-p/1378302#M821687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try 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;Sum({&amp;lt;Month={'&amp;lt;=&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;$(vMonth)&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;'},Year={"$(=Year(Today()))"},[Dept. No]={'820'},Project={'SKAND-820*'}&amp;gt;} Hours)&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;Regards,&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;Kaushik Solanki&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2017 09:59:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-variables-in-a-sum-formula/m-p/1378302#M821687</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2017-08-10T09:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: Using variables in a sum formula</title>
      <link>https://community.qlik.com/t5/QlikView/Using-variables-in-a-sum-formula/m-p/1378303#M821688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum({&amp;lt;Month={'&amp;lt;=$&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;(vMonth)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;'},Year={$(=Year(Today()))},[Dept. No]={'820'},Project={&lt;STRONG&gt;"&lt;/STRONG&gt;SKAND-820*&lt;STRONG&gt;"&lt;/STRONG&gt;}&amp;gt;} Hours)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2017 10:08:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-variables-in-a-sum-formula/m-p/1378303#M821688</guid>
      <dc:creator>ankur_abhishek</dc:creator>
      <dc:date>2017-08-10T10:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: Using variables in a sum formula</title>
      <link>https://community.qlik.com/t5/QlikView/Using-variables-in-a-sum-formula/m-p/1378304#M821689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a LOT &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2017 10:13:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-variables-in-a-sum-formula/m-p/1378304#M821689</guid>
      <dc:creator>fabricius</dc:creator>
      <dc:date>2017-08-10T10:13:18Z</dc:date>
    </item>
    <item>
      <title>Re: Using variables in a sum formula</title>
      <link>https://community.qlik.com/t5/QlikView/Using-variables-in-a-sum-formula/m-p/1378305#M821690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Works &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Thanks a lot for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2017 11:59:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-variables-in-a-sum-formula/m-p/1378305#M821690</guid>
      <dc:creator>fabricius</dc:creator>
      <dc:date>2017-08-10T11:59:06Z</dc:date>
    </item>
  </channel>
</rss>

