<?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: Min Date as List Box in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Min-Date-as-List-Box/m-p/833280#M293177</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;date(monthstart( "WORKFLOW_STEP_START_DATE"), 'YYYY-MMM')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;And use "Sort" tab in Properties&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 May 2015 16:46:26 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-05-22T16:46:26Z</dc:date>
    <item>
      <title>Min Date as List Box</title>
      <link>https://community.qlik.com/t5/QlikView/Min-Date-as-List-Box/m-p/833276#M293173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my FACT table, I have REQUEST_ID, TRX_DATE and WORKFLOW_STEP_START_DATE (this one applies to each workflow step).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TRX_DATE joins to my calendar table to return Month/Year (among other things).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a DIMENSION table, I have REQUEST_ID and REQ_SUBMIT_DATE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement for the user to be able to filter based on Month/Year of Request Submission (REQ_SUBMIT_DATE).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried adding a list box for REQ_SUBMIT_DATE but without the join to the Calendar table, I get multiple rows returned for the same month/year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried &lt;SPAN style="color: #008000; font-size: 8pt;"&gt;min( "WORKFLOW_STEP_START_DATE") as TRX_DATE and&lt;BR /&gt;I tried&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;date( min("WORKFLOW_STEP_START_DATE"), 'YYYY-MMM') as CREATE_MY, but I got errors when trying to load the data.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas? Thanks,&lt;/P&gt;&lt;P&gt;Cassandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 May 2015 15:40:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Min-Date-as-List-Box/m-p/833276#M293173</guid>
      <dc:creator>cbaqir</dc:creator>
      <dc:date>2015-05-22T15:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: Min Date as List Box</title>
      <link>https://community.qlik.com/t5/QlikView/Min-Date-as-List-Box/m-p/833277#M293174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you need&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;monthstart( "WORKFLOW_STEP_START_DATE") as TRX_DATE&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 May 2015 15:47:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Min-Date-as-List-Box/m-p/833277#M293174</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-22T15:47:30Z</dc:date>
    </item>
    <item>
      <title>Re: Min Date as List Box</title>
      <link>https://community.qlik.com/t5/QlikView/Min-Date-as-List-Box/m-p/833278#M293175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Cassandra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Min() returns just one value and &lt;SPAN style="color: #008000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10.6666669845581px;"&gt;min( "WORKFLOW_STEP_START_DATE") as TRX_DATE&lt;/SPAN&gt; returns just min date (a single ) in the field '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;REQ_SUBMIT_DATE&lt;/SPAN&gt;'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want to pull out the the months and years of &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;REQ_SUBMIT_DATE into a list box as per you requirement,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;try using Month(&lt;SPAN style="font-size: 13.3333330154419px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;REQ_SUBMIT_DATE&lt;/SPAN&gt;) and year(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;REQ_SUBMIT_DATE &lt;/SPAN&gt;) if you did not include request submit dates which creating your calendar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you have any questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;krishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 May 2015 15:49:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Min-Date-as-List-Box/m-p/833278#M293175</guid>
      <dc:creator>Qrishna</dc:creator>
      <dc:date>2015-05-22T15:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: Min Date as List Box</title>
      <link>https://community.qlik.com/t5/QlikView/Min-Date-as-List-Box/m-p/833279#M293176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using Year then Month to display 2015-May. How would I then get the List Box to sort appropriately (asc date)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 May 2015 16:38:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Min-Date-as-List-Box/m-p/833279#M293176</guid>
      <dc:creator>cbaqir</dc:creator>
      <dc:date>2015-05-22T16:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: Min Date as List Box</title>
      <link>https://community.qlik.com/t5/QlikView/Min-Date-as-List-Box/m-p/833280#M293177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;date(monthstart( "WORKFLOW_STEP_START_DATE"), 'YYYY-MMM')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;And use "Sort" tab in Properties&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 May 2015 16:46:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Min-Date-as-List-Box/m-p/833280#M293177</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-22T16:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: Min Date as List Box</title>
      <link>https://community.qlik.com/t5/QlikView/Min-Date-as-List-Box/m-p/833281#M293178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Subfield(year-month,'-',1) as year&amp;nbsp; in script or&amp;nbsp; &lt;SPAN style="font-size: 13.3333330154419px;"&gt;Subfield(year-month,'-',1) in the list box expression&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Subfield(year-month,'-',2) as month in script or&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Subfield(year-month,'-',2) in the list box expression&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;eg :&amp;nbsp; &lt;SPAN style="font-size: 13.3333330154419px;"&gt;Subfield(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;2015-May&lt;/SPAN&gt;,'-',1)&amp;nbsp; returns 2015&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Subfield(&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;2015-May&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;,'-',2)&amp;nbsp; returns May&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;after the values are populated in a list box, goto list box props --&amp;gt;sort --&amp;gt; your preferred sort&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;just like the way in the below screenshot&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;IMG alt="1.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/87324_1.PNG" style="height: 91px; width: 620px;" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;hope that helps.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Thanks&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 May 2015 16:49:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Min-Date-as-List-Box/m-p/833281#M293178</guid>
      <dc:creator>Qrishna</dc:creator>
      <dc:date>2015-05-22T16:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: Min Date as List Box</title>
      <link>https://community.qlik.com/t5/QlikView/Min-Date-as-List-Box/m-p/833282#M293179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 May 2015 17:28:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Min-Date-as-List-Box/m-p/833282#M293179</guid>
      <dc:creator>cbaqir</dc:creator>
      <dc:date>2015-05-22T17:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: Min Date as List Box</title>
      <link>https://community.qlik.com/t5/QlikView/Min-Date-as-List-Box/m-p/833283#M293180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H1&gt;Thanks&lt;/H1&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 May 2015 17:28:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Min-Date-as-List-Box/m-p/833283#M293180</guid>
      <dc:creator>cbaqir</dc:creator>
      <dc:date>2015-05-22T17:28:59Z</dc:date>
    </item>
  </channel>
</rss>

