<?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 Syntax in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Syntax/m-p/720517#M1063187</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;Example: Say if user is selecting a Year and a Month, now I want to load that data only whose posting date was less than or equal to selected year and month, and whose Clearing Date is greater than or equal to selected year and month.&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Use the makedate function to create a date from the selected year and month so that date value can be compared with the date values in your Posting Date field. MakeDate(2014,9) will create the first of september 2014 as date value. A date value like that can be used to compare other dates with to check if they come before or after it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Sep 2014 13:07:25 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2014-09-17T13:07:25Z</dc:date>
    <item>
      <title>Set Analysis Syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Syntax/m-p/720514#M1063184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody suggest what is wrong in this following syntax?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({$&amp;lt;[Posting Date] = {"&amp;lt;=$(=VPostYear,=VPostMonth)"}, Clearing_Date= {"&amp;gt;=$(=VPostYear,=VPostMonth)"}&amp;gt;} [Amount in LC])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Balraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 12:43:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Syntax/m-p/720514#M1063184</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-17T12:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Syntax/m-p/720515#M1063185</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;"&gt;This part doesn't make sense to me: $(=VPostYear,=VPostMonth). If Posting Date is a date then you should have a date on the right hand of the &amp;lt;=. Perhaps $(=makedate(VPostYear,VPostMonth)).&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 12:51:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Syntax/m-p/720515#M1063185</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-09-17T12:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Syntax/m-p/720516#M1063186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gysbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not making any date here, I have a field Posting Date and I am comparing Posting Date with the selected year and month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For me it seems, there is syntax error in Set analysis the way I am comparing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: Say if user is selecting a Year and a Month, now I want to load that data only whose posting date was less than or equal to selected year and month, and whose Clearing Date is greater than or equal to selected year and month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you help to make it correct?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 13:01:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Syntax/m-p/720516#M1063186</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-17T13:01:16Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Syntax/m-p/720517#M1063187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;Example: Say if user is selecting a Year and a Month, now I want to load that data only whose posting date was less than or equal to selected year and month, and whose Clearing Date is greater than or equal to selected year and month.&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Use the makedate function to create a date from the selected year and month so that date value can be compared with the date values in your Posting Date field. MakeDate(2014,9) will create the first of september 2014 as date value. A date value like that can be used to compare other dates with to check if they come before or after it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 13:07:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Syntax/m-p/720517#M1063187</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-09-17T13:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Syntax/m-p/720518#M1063188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;okay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me try this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 13:11:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Syntax/m-p/720518#M1063188</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-17T13:11:20Z</dc:date>
    </item>
  </channel>
</rss>

