<?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: using month in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/using-month-in-set-analysis/m-p/1451441#M434372</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I tried the numeric month field but for some reason it does not work.&lt;/P&gt;&lt;P&gt;The value i get when i display month_num is null, or '-'&lt;/P&gt;&lt;P&gt;I don't get it...Here is what i had done:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;myDATES:&lt;/P&gt;&lt;P&gt;LOAD * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;month, month_num, &lt;/P&gt;&lt;P&gt;Jan,1,&lt;/P&gt;&lt;P&gt;Feb,2,&lt;/P&gt;&lt;P&gt;Mar,3,&lt;/P&gt;&lt;P&gt;Apr,4,&lt;/P&gt;&lt;P&gt;May,5,&lt;/P&gt;&lt;P&gt;Jun,6,&lt;/P&gt;&lt;P&gt;Jul,7,&lt;/P&gt;&lt;P&gt;Aug,8,&lt;/P&gt;&lt;P&gt;Sep,9,&lt;/P&gt;&lt;P&gt;Oct,10,&lt;/P&gt;&lt;P&gt;Nov,11,&lt;/P&gt;&lt;P&gt;Dec,12,&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/182853_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Nov 2017 14:15:32 GMT</pubDate>
    <dc:creator>tomdabek</dc:creator>
    <dc:date>2017-11-10T14:15:32Z</dc:date>
    <item>
      <title>using month in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/using-month-in-set-analysis/m-p/1451439#M434370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am having a problem showing the values associated with the month the user has selected in the Qlikview application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A chart has expressions that are supposed to show month volume (based on the 'greatest' month the user has selected).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if the user has selected March, we should see the volume from March.&lt;/P&gt;&lt;P&gt;If the user has selected the months January, February AND March, still we should see only the value for March.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The next expression shows the Year-to-date volume, regardless of the user selection of month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This 2nd expression works fine:&lt;/P&gt;&lt;P&gt;=sum({$&amp;lt;year={$(=max(year))},month=&amp;gt;}_volume_total)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't get the volume for the month however.&amp;nbsp; Nothing seems to work.&lt;/P&gt;&lt;P&gt;The expression i think i should use is:&lt;/P&gt;&lt;P&gt;=sum({$&amp;lt;year={$(=max(year))},month={$(=max(month))}&amp;gt;}_volume_total)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it does not work.&lt;/P&gt;&lt;P&gt;when the month March is selected, i can see in a text box that:&lt;/P&gt;&lt;P&gt;month=Mar&lt;/P&gt;&lt;P&gt;max(month) = 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i create an expression that can determine the 'maximum' month selected by the user?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so i think my problem is i don't have a numeric value in the database for the month so my expression fails (it always returns zero)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Nov 2017 13:53:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/using-month-in-set-analysis/m-p/1451439#M434370</guid>
      <dc:creator>tomdabek</dc:creator>
      <dc:date>2017-11-10T13:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: using month in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/using-month-in-set-analysis/m-p/1451440#M434371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why don't you create a numeric Month field?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Num(Month(DateField)) as NumMonth&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively, try this&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;=Sum({$&amp;lt;year={$(=max(year))}, month={"$(=Month(Date#(Max(month), 'M')))"}&amp;gt;}_volume_total)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Nov 2017 13:59:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/using-month-in-set-analysis/m-p/1451440#M434371</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-11-10T13:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: using month in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/using-month-in-set-analysis/m-p/1451441#M434372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I tried the numeric month field but for some reason it does not work.&lt;/P&gt;&lt;P&gt;The value i get when i display month_num is null, or '-'&lt;/P&gt;&lt;P&gt;I don't get it...Here is what i had done:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;myDATES:&lt;/P&gt;&lt;P&gt;LOAD * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;month, month_num, &lt;/P&gt;&lt;P&gt;Jan,1,&lt;/P&gt;&lt;P&gt;Feb,2,&lt;/P&gt;&lt;P&gt;Mar,3,&lt;/P&gt;&lt;P&gt;Apr,4,&lt;/P&gt;&lt;P&gt;May,5,&lt;/P&gt;&lt;P&gt;Jun,6,&lt;/P&gt;&lt;P&gt;Jul,7,&lt;/P&gt;&lt;P&gt;Aug,8,&lt;/P&gt;&lt;P&gt;Sep,9,&lt;/P&gt;&lt;P&gt;Oct,10,&lt;/P&gt;&lt;P&gt;Nov,11,&lt;/P&gt;&lt;P&gt;Dec,12,&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/182853_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Nov 2017 14:15:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/using-month-in-set-analysis/m-p/1451441#M434372</guid>
      <dc:creator>tomdabek</dc:creator>
      <dc:date>2017-11-10T14:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: using month in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/using-month-in-set-analysis/m-p/1451442#M434373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;myDATES:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;LOAD Month(Date#(month, 'MMM')) as month,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; month_num;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * Inline&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;month, month_num,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Jan,1,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Feb,2,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Mar,3,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Apr,4,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;May,5,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Jun,6,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Jul,7,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Aug,8,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sep,9,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Oct,10,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Nov,11,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dec,12,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Nov 2017 14:19:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/using-month-in-set-analysis/m-p/1451442#M434373</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-11-10T14:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: using month in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/using-month-in-set-analysis/m-p/1451443#M434374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you.&amp;nbsp; I guess Qlik can have 'special' datatypes and that is why myDATES table did not work at first.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Nov 2017 14:33:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/using-month-in-set-analysis/m-p/1451443#M434374</guid>
      <dc:creator>tomdabek</dc:creator>
      <dc:date>2017-11-10T14:33:01Z</dc:date>
    </item>
  </channel>
</rss>

