<?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: use date functions and variables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/set-analysis-use-date-functions-and-variables/m-p/253504#M586545</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can probably load a field with the month of ass_start_date and then compare that field in the set analysis to the month of vReportingDate. You will need dollar sign expansion for the variable and function. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example of dollar sign expansion for always reporting the last date:&lt;/P&gt;&lt;P&gt;{&amp;lt;Date={'$(=Max(Date))'}&amp;gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 May 2011 15:04:01 GMT</pubDate>
    <dc:creator>stigchel</dc:creator>
    <dc:date>2011-05-31T15:04:01Z</dc:date>
    <item>
      <title>set analysis: use date functions and variables</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-use-date-functions-and-variables/m-p/253503#M586541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to use set analysis to speed up my application in stead of if statements. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;({&amp;lt; &lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;type&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;={'CA','CC'} &lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;InMonth&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;ass_start_date&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;,&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9pt; font-family: 'Courier New';"&gt;vReportingDate&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;,0),&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;assessmentId&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;How can i insert this if inside the set analysis? (only show&amp;nbsp; the records where the month of the start start is in the month of our reporting date). The reporting date is inside my variable.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;Thank you very much!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2011 11:26:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-use-date-functions-and-variables/m-p/253503#M586541</guid>
      <dc:creator />
      <dc:date>2011-05-31T11:26:23Z</dc:date>
    </item>
    <item>
      <title>set analysis: use date functions and variables</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-use-date-functions-and-variables/m-p/253504#M586545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can probably load a field with the month of ass_start_date and then compare that field in the set analysis to the month of vReportingDate. You will need dollar sign expansion for the variable and function. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example of dollar sign expansion for always reporting the last date:&lt;/P&gt;&lt;P&gt;{&amp;lt;Date={'$(=Max(Date))'}&amp;gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2011 15:04:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-use-date-functions-and-variables/m-p/253504#M586545</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2011-05-31T15:04:01Z</dc:date>
    </item>
  </channel>
</rss>

