<?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: Variable in Set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Variable-in-Set-analysis/m-p/900205#M313202</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;Vacation_Date={"&amp;gt;=$(=vCurrentM)&amp;lt;='Dec-15'"}&amp;gt;} Days)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Jul 2015 14:29:12 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-07-07T14:29:12Z</dc:date>
    <item>
      <title>Variable in Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-in-Set-analysis/m-p/900204#M313201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, guys!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Need your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to create an expression in straight table summing values&lt;STRONG&gt; from current month till the end of Dec.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I've got a date field in my script named Vacation_Date with format like 'MMM-YY'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've created a variable for current month: vCurrentM=Date(Monthstart(Today()),'MMM-YY')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try an expression like :Sum({&amp;lt;Vacation_Date={"&amp;gt;=$(=vCurrentM)&amp;lt;='Dec-15'"},Vacation_Date=&amp;gt;} Days), but it doesnt work correctly, it sums up all the values of the year. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas on how to get the desired result?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample application is attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thnx!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2015 14:20:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-in-Set-analysis/m-p/900204#M313201</guid>
      <dc:creator />
      <dc:date>2015-07-07T14:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: Variable in Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-in-Set-analysis/m-p/900205#M313202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;Vacation_Date={"&amp;gt;=$(=vCurrentM)&amp;lt;='Dec-15'"}&amp;gt;} Days)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2015 14:29:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-in-Set-analysis/m-p/900205#M313202</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-07T14:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: Variable in Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-in-Set-analysis/m-p/900206#M313203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create one more variable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vYearEnd&lt;/P&gt;&lt;P&gt;Date(YearEnd(Today()),'MMM-YY')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now use this expression&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;Vacation_Date = {"&amp;gt;=$(vCurrentM)&amp;lt;=$(vYearEnd)"}&amp;gt;}Days)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2015 14:29:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-in-Set-analysis/m-p/900206#M313203</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2015-07-07T14:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: Variable in Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-in-Set-analysis/m-p/900207#M313204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got it by this way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;goto document properties, tab number&lt;/P&gt;&lt;P&gt;select your field Vacation_Date&lt;/P&gt;&lt;P&gt;define it as date to "MMM-YY" (currently it's mixed)&lt;/P&gt;&lt;P&gt;your table wwas showing correct data immediately&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2015 14:35:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-in-Set-analysis/m-p/900207#M313204</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-07T14:35:06Z</dc:date>
    </item>
  </channel>
</rss>

