<?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 using start of month in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/set-analysis-using-start-of-month/m-p/426653#M158952</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=sum(&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;{1&amp;lt; Date = &lt;STRONG&gt;{'$(=Date(monthstart(Today()),'DD/MM/YYYY') )'}&lt;/STRONG&gt;, RecordType = {'Opening Balance'},Tabletype ={'Total'} &amp;gt;}&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Members)&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Sep 2012 16:00:05 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2012-09-20T16:00:05Z</dc:date>
    <item>
      <title>set analysis using start of month</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-using-start-of-month/m-p/426652#M158951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi folks &lt;/P&gt;&lt;P&gt;After trying this several different ways I think im losing the plot with set analysis and dates &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i use &lt;/P&gt;&lt;P&gt;sum({1&amp;lt; Date = {'01/09/2012'}, RecordType = {'Opening Balance'},Tabletype ={'Total'} &amp;gt;}Members)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it brings back the answer i want.. brilliant&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;all im trying to do is substitute the '01/09/2012' for the 1st day of the month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;monthstart(Today())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any clues on putting the above in the set analysis as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({1&amp;lt; Date = {'monthstart(Today())'}, RecordType = {'Opening Balance'},Tabletype ={'Total'} &amp;gt;}Members)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fails to give anything back &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date is part of a master calendar which is loaded via&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MasterCalendar:&lt;/P&gt;&lt;P&gt;Load Id,&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;date(Date, 'DD/MM/YYYY') as Date&lt;/P&gt;&lt;P&gt;,Year,Month,MonthName,DayOfMonth,DayOfWeek,DayName,Quarter,Week,DayOfYear;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM DimDate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2012 15:45:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-using-start-of-month/m-p/426652#M158951</guid>
      <dc:creator />
      <dc:date>2012-09-20T15:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis using start of month</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-using-start-of-month/m-p/426653#M158952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=sum(&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;{1&amp;lt; Date = &lt;STRONG&gt;{'$(=Date(monthstart(Today()),'DD/MM/YYYY') )'}&lt;/STRONG&gt;, RecordType = {'Opening Balance'},Tabletype ={'Total'} &amp;gt;}&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Members)&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2012 16:00:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-using-start-of-month/m-p/426653#M158952</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-09-20T16:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis using start of month</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-using-start-of-month/m-p/426654#M158953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Swuehl, there appears to be a lot of underlining red in the syntax, suggesting it may be wrong but it is giving the correct answer so thanks again&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2012 08:16:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-using-start-of-month/m-p/426654#M158953</guid>
      <dc:creator />
      <dc:date>2012-09-21T08:16:52Z</dc:date>
    </item>
  </channel>
</rss>

