<?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 Set analysis with MakeDate in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-MakeDate/m-p/222210#M74893</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You Set expression is not correct. Instead of "MakeDate(Year,num(Month),Day)" you should use a Field name which you want use for a selection.&lt;/P&gt;&lt;P&gt;Check the syntax:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-left:40px;"&gt;set_modifier ::= &amp;lt; field_selection {, field_selection } &amp;gt;&lt;/P&gt;&lt;P style="margin-left:40px;"&gt;field_selection ::= field_name [ = | += | ¬-= | *= | /= ] element_set_expression&lt;/P&gt;&lt;P style="margin-left:40px;"&gt;element_set_expression ::= element_set { set_operator element_set }&lt;/P&gt;&lt;P style="margin-left:40px;"&gt;element_set ::= [ field_name ] | { element_list } | element_function&lt;/P&gt;&lt;P style="margin-left:40px;"&gt;element_list ::= element { , element }&lt;/P&gt;&lt;P style="margin-left:40px;"&gt;element_function ::= ( P | E ) ( [ set_expression ] [ field_name ] )&lt;/P&gt;&lt;P style="margin-left:40px;"&gt;element ::= field_value | " search_mask "&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Jul 2010 16:27:30 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-07-13T16:27:30Z</dc:date>
    <item>
      <title>Set analysis with MakeDate</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-MakeDate/m-p/222209#M74892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another set analysis problem. [:P]&lt;/P&gt;&lt;P&gt;To validate I've added&lt;/P&gt;&lt;P&gt;if(MakeDate(Year, num(Month),Day)&amp;lt;= Date(Today()),1,0)&lt;/P&gt;&lt;P&gt;in the table and it evaluates as expected.&lt;/P&gt;&lt;P&gt;Unfortunately this set analysis expression doesn't:&lt;/P&gt;&lt;P&gt;=Sum({$&amp;lt;MakeDate(Year,num(Month),Day)={'&amp;lt;=$(=Date(Today()))'}&amp;gt;} Budget_ValueSEDay)&lt;/P&gt;&lt;DIV&gt;I suppose there is some syntax problems, right?&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jul 2010 15:48:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-MakeDate/m-p/222209#M74892</guid>
      <dc:creator />
      <dc:date>2010-07-13T15:48:18Z</dc:date>
    </item>
    <item>
      <title>Set analysis with MakeDate</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-MakeDate/m-p/222210#M74893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You Set expression is not correct. Instead of "MakeDate(Year,num(Month),Day)" you should use a Field name which you want use for a selection.&lt;/P&gt;&lt;P&gt;Check the syntax:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-left:40px;"&gt;set_modifier ::= &amp;lt; field_selection {, field_selection } &amp;gt;&lt;/P&gt;&lt;P style="margin-left:40px;"&gt;field_selection ::= field_name [ = | += | ¬-= | *= | /= ] element_set_expression&lt;/P&gt;&lt;P style="margin-left:40px;"&gt;element_set_expression ::= element_set { set_operator element_set }&lt;/P&gt;&lt;P style="margin-left:40px;"&gt;element_set ::= [ field_name ] | { element_list } | element_function&lt;/P&gt;&lt;P style="margin-left:40px;"&gt;element_list ::= element { , element }&lt;/P&gt;&lt;P style="margin-left:40px;"&gt;element_function ::= ( P | E ) ( [ set_expression ] [ field_name ] )&lt;/P&gt;&lt;P style="margin-left:40px;"&gt;element ::= field_value | " search_mask "&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jul 2010 16:27:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-MakeDate/m-p/222210#M74893</guid>
      <dc:creator />
      <dc:date>2010-07-13T16:27:30Z</dc:date>
    </item>
    <item>
      <title>Set analysis with MakeDate</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-MakeDate/m-p/222211#M74894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;left join (YourTable)&lt;BR /&gt;Load *,&lt;BR /&gt;if(MakeDate(Year, num(Month),Day)&amp;lt;= Date(Today()),1,0) as YourFlag&lt;BR /&gt;resident YourTable;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;After this you can use "YourFlag" field in your expression:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;=Sum({$&amp;lt;YourFlag={"&amp;lt;=$(=Date(Today()))"}&amp;gt;} Budget_ValueSEDay)&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jul 2010 16:32:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-MakeDate/m-p/222211#M74894</guid>
      <dc:creator />
      <dc:date>2010-07-13T16:32:53Z</dc:date>
    </item>
    <item>
      <title>SV:Set analysis with MakeDate</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-MakeDate/m-p/222212#M74895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your responses.&lt;/P&gt;&lt;P&gt;The syntax was of course not correct - but it would have been great if my expression woule have evaluated.&lt;/P&gt;&lt;P&gt;Now I create the Date in a load script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jul 2010 10:34:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-MakeDate/m-p/222212#M74895</guid>
      <dc:creator />
      <dc:date>2010-07-14T10:34:29Z</dc:date>
    </item>
  </channel>
</rss>

