<?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: Set Analysis with Date Variables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-Date-Variables/m-p/1688111#M727080</link>
    <description>&lt;P&gt;Thank you so much Sunny for the quick reply - both seem to be working fine.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any reason why I had to define them as strings or in-case I have used the wrong terminology '&amp;gt;='&lt;/P&gt;</description>
    <pubDate>Thu, 26 Mar 2020 13:19:32 GMT</pubDate>
    <dc:creator>Carpy</dc:creator>
    <dc:date>2020-03-26T13:19:32Z</dc:date>
    <item>
      <title>Set Analysis with Date Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-Date-Variables/m-p/1688049#M727078</link>
      <description>&lt;P&gt;Hi new here so apologies if others have answered this one -&amp;nbsp;&lt;/P&gt;&lt;P&gt;sum(&lt;BR /&gt;{&amp;lt;YearMonth,YearMonth={'&amp;gt;= $(vYearMonth2PrevToData) &amp;lt;= $(vYearMonthToData) '}&amp;gt;}&lt;BR /&gt;Amount)&lt;/P&gt;&lt;P&gt;The variable names aren't great but they are to drive the date back to when the data corresponds and they seem to be working fine in terms of matching the right date - however this sum results in 0 despite everything showing correct&lt;/P&gt;&lt;P&gt;OK - SUM({YearMonth,YearMonth={'&amp;gt;=20151 &amp;lt;=20153'}&amp;gt;}Amount)&lt;/P&gt;&lt;P&gt;If I just use one or the other variable it provides the answer so it has to have something to do with me trying to define the range to do the sum over.&lt;/P&gt;&lt;P&gt;Any help appreciated - even the learning I am doing suggests I have everything correct&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 18:52:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-Date-Variables/m-p/1688049#M727078</guid>
      <dc:creator>Carpy</dc:creator>
      <dc:date>2024-11-16T18:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with Date Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-Date-Variables/m-p/1688073#M727079</link>
      <description>&lt;P&gt;Can you try this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Sum({&amp;lt;YearMonth = {"$(='&amp;gt;=' &amp;amp; vYearMonth2PrevToData &amp;amp; '&amp;lt;=' &amp;amp; vYearMonthToData)"}&amp;gt;} Amount)&lt;/LI-CODE&gt;&lt;P&gt;or&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Sum({&amp;lt;YearMonth = {"$(='&amp;gt;=' &amp;amp; $(vYearMonth2PrevToData) &amp;amp; '&amp;lt;=' &amp;amp; $(vYearMonthToData))"}&amp;gt;} Amount)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Mar 2020 12:15:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-Date-Variables/m-p/1688073#M727079</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2020-03-26T12:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with Date Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-Date-Variables/m-p/1688111#M727080</link>
      <description>&lt;P&gt;Thank you so much Sunny for the quick reply - both seem to be working fine.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any reason why I had to define them as strings or in-case I have used the wrong terminology '&amp;gt;='&lt;/P&gt;</description>
      <pubDate>Thu, 26 Mar 2020 13:19:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-Date-Variables/m-p/1688111#M727080</guid>
      <dc:creator>Carpy</dc:creator>
      <dc:date>2020-03-26T13:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with Date Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-Date-Variables/m-p/1688129#M727081</link>
      <description>&lt;P&gt;You can try this also&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Sum({&amp;lt;YearMonth = {"&amp;gt;=$(=vYearMonth2PrevToData)&amp;lt;=$(=vYearMonthToData)"}&amp;gt;} Amount)&lt;/LI-CODE&gt;&lt;P&gt;or&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Sum({&amp;lt;YearMonth = {"&amp;gt;=$(=$(vYearMonth2PrevToData))&amp;lt;=$(=$(vYearMonthToData))"}&amp;gt;} Amount) &lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 26 Mar 2020 13:58:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-Date-Variables/m-p/1688129#M727081</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2020-03-26T13:58:46Z</dc:date>
    </item>
  </channel>
</rss>

