<?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 Sort Issue with match function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sort-Issue-with-match-function/m-p/485402#M181358</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an issue in sorting using match function.&lt;/P&gt;&lt;P&gt;I used below code.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial; color: black; font-size: 9pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial; color: blue; font-size: 9pt;"&gt;match&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial; color: black; font-size: 9pt;"&gt; ( &lt;/SPAN&gt;&lt;SPAN style="font-family: Arial; color: maroon; font-size: 9pt;"&gt;REGION&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial; color: black; font-size: 9pt;"&gt;, 'Australia', 'New Zealand', 'Asia',&amp;nbsp; 'Pacific', 'Europe', 'Americas') &lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;It works fine, but my pivot has a MTD Value using set analysis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my MTD set is:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;=Sum&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Day&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;=, &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;=, &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;={'&amp;gt;=$(=Date(MonthStart(Min(Date))))&amp;lt;=$(=Max(Date))'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;[Day Actuals]&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem is, there wont be data available for all countries on few days in a month,&lt;/P&gt;&lt;P&gt;If data available for all countries on a day, the sort works fine,&lt;/P&gt;&lt;P&gt;when not available it does not work, but my pivot gives MTD data but it reflects all the countries in pivot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way i nullify Day in sort? or use this expression in sort and has any work around ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate your thoughts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Oct 2013 15:09:30 GMT</pubDate>
    <dc:creator>renjithpl</dc:creator>
    <dc:date>2013-10-17T15:09:30Z</dc:date>
    <item>
      <title>Sort Issue with match function</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-Issue-with-match-function/m-p/485402#M181358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an issue in sorting using match function.&lt;/P&gt;&lt;P&gt;I used below code.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Arial; color: black; font-size: 9pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial; color: blue; font-size: 9pt;"&gt;match&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial; color: black; font-size: 9pt;"&gt; ( &lt;/SPAN&gt;&lt;SPAN style="font-family: Arial; color: maroon; font-size: 9pt;"&gt;REGION&lt;/SPAN&gt;&lt;SPAN style="font-family: Arial; color: black; font-size: 9pt;"&gt;, 'Australia', 'New Zealand', 'Asia',&amp;nbsp; 'Pacific', 'Europe', 'Americas') &lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;It works fine, but my pivot has a MTD Value using set analysis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my MTD set is:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue; font-size: 9pt;"&gt;=Sum&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Day&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;=, &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;=, &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;={'&amp;gt;=$(=Date(MonthStart(Min(Date))))&amp;lt;=$(=Max(Date))'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;[Day Actuals]&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem is, there wont be data available for all countries on few days in a month,&lt;/P&gt;&lt;P&gt;If data available for all countries on a day, the sort works fine,&lt;/P&gt;&lt;P&gt;when not available it does not work, but my pivot gives MTD data but it reflects all the countries in pivot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way i nullify Day in sort? or use this expression in sort and has any work around ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate your thoughts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Oct 2013 15:09:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-Issue-with-match-function/m-p/485402#M181358</guid>
      <dc:creator>renjithpl</dc:creator>
      <dc:date>2013-10-17T15:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: Sort Issue with match function</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-Issue-with-match-function/m-p/485403#M181359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial; color: black;"&gt;Perhaps this:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial; color: blue;"&gt;match&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial; color: black;"&gt; (only({&amp;lt;Day=&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial; color: maroon;"&gt;REGION)&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial; color: black;"&gt;, 'Australia', 'New Zealand', 'Asia',&amp;nbsp; 'Pacific', 'Europe', 'Americas')&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Oct 2013 16:09:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-Issue-with-match-function/m-p/485403#M181359</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-10-17T16:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: Sort Issue with match function</title>
      <link>https://community.qlik.com/t5/QlikView/Sort-Issue-with-match-function/m-p/485404#M181360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Works like charm ... Thanks much!! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Oct 2013 17:01:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sort-Issue-with-match-function/m-p/485404#M181360</guid>
      <dc:creator>renjithpl</dc:creator>
      <dc:date>2013-10-17T17:01:26Z</dc:date>
    </item>
  </channel>
</rss>

