<?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 Grouping data in a listbox - aggr function? (long explanation...) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Grouping-data-in-a-listbox-aggr-function-long-explanation/m-p/927672#M320982</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i don't know how to face the following problem:&lt;/P&gt;&lt;P&gt;- suppose i have a list of stock forward quotation, about on a daily basis; let's say 200 quotation per year (ReferenceDate in the sample)&lt;/P&gt;&lt;P&gt;- then i want to compare two or more forward quotations from different ReferenceDate&lt;/P&gt;&lt;P&gt;it's easy, i did it in the sample.....just thick in the listbox two or more items&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but if i have hundred of Reference dates, users should scroll through a lot of items;&lt;/P&gt;&lt;P&gt;i think that the ideal solution is to add another listbox with a subset of Reference Date (the first quotation of the month/quarter); in this case user should select the first reference from the second listbox and the add any number of other ReferenceDate in the first listbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;the second list box should look :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;02/01/2015&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;01/04/2015&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;or &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;quarter1 2015&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;quarter2 2015&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I added a second listbox (quarter) but (obviously) when i select 01/01/2015 i select a couple of values in the first listbox rather then 02/01/2015 only.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I added another listbox (quarter 2) with the expression:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;=aggr(min(ReferenceDate), QuarterStart(ReferenceDate))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but doesn't work .... (for sure i'm not a qlik expert)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone can help me to solve this problem&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Stefano&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Aug 2015 09:15:49 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-08-28T09:15:49Z</dc:date>
    <item>
      <title>Grouping data in a listbox - aggr function? (long explanation...)</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-data-in-a-listbox-aggr-function-long-explanation/m-p/927672#M320982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i don't know how to face the following problem:&lt;/P&gt;&lt;P&gt;- suppose i have a list of stock forward quotation, about on a daily basis; let's say 200 quotation per year (ReferenceDate in the sample)&lt;/P&gt;&lt;P&gt;- then i want to compare two or more forward quotations from different ReferenceDate&lt;/P&gt;&lt;P&gt;it's easy, i did it in the sample.....just thick in the listbox two or more items&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but if i have hundred of Reference dates, users should scroll through a lot of items;&lt;/P&gt;&lt;P&gt;i think that the ideal solution is to add another listbox with a subset of Reference Date (the first quotation of the month/quarter); in this case user should select the first reference from the second listbox and the add any number of other ReferenceDate in the first listbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;the second list box should look :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;02/01/2015&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;01/04/2015&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;or &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;quarter1 2015&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;quarter2 2015&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I added a second listbox (quarter) but (obviously) when i select 01/01/2015 i select a couple of values in the first listbox rather then 02/01/2015 only.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I added another listbox (quarter 2) with the expression:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;=aggr(min(ReferenceDate), QuarterStart(ReferenceDate))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but doesn't work .... (for sure i'm not a qlik expert)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone can help me to solve this problem&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Stefano&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 09:15:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-data-in-a-listbox-aggr-function-long-explanation/m-p/927672#M320982</guid>
      <dc:creator />
      <dc:date>2015-08-28T09:15:49Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping data in a listbox - aggr function? (long explanation...)</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-data-in-a-listbox-aggr-function-long-explanation/m-p/927673#M320983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you create a field "Quarter" in the script, will this not solve your problem? E.g.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load *,&lt;/P&gt;&lt;P&gt;&amp;nbsp; QuarterName(ReferenceDate) as Quarter&lt;/P&gt;&lt;P&gt;inline [...]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See also &lt;A href="https://community.qlik.com/qlik-blogpost/2802"&gt;The Master Calendar&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 09:42:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-data-in-a-listbox-aggr-function-long-explanation/m-p/927673#M320983</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2015-08-28T09:42:01Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping data in a listbox - aggr function? (long explanation...)</title>
      <link>https://community.qlik.com/t5/QlikView/Grouping-data-in-a-listbox-aggr-function-long-explanation/m-p/927674#M320984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Henric,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for you reply.&lt;/P&gt;&lt;P&gt;probably my request was confused .....&lt;/P&gt;&lt;P&gt;If i add the field quarter (as per you suggestion), as i select a quarter, ALL forward quotations are included in the chart (about 60);&lt;/P&gt;&lt;P&gt;I'd like to include in the graph only the first quotation for the selected quarter (02/01/2015 if i thick first quarter)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stefano&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 09:57:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Grouping-data-in-a-listbox-aggr-function-long-explanation/m-p/927674#M320984</guid>
      <dc:creator />
      <dc:date>2015-08-28T09:57:25Z</dc:date>
    </item>
  </channel>
</rss>

