<?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: Help using first sorted value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-using-first-sorted-value/m-p/1177589#M382039</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Max date? or value associated with max date?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Max date: &lt;STRONG&gt;Max(DateField)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;For value associated with max date: &lt;STRONG&gt;FirstSortedValue(Value, -Date)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Aug 2016 18:59:52 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-08-11T18:59:52Z</dc:date>
    <item>
      <title>Help using first sorted value</title>
      <link>https://community.qlik.com/t5/QlikView/Help-using-first-sorted-value/m-p/1177588#M382038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello got a fact table with&amp;nbsp; customers and date of transaction&lt;/P&gt;&lt;P&gt;I need to create a pivot table with dimension month_year and customer key &lt;/P&gt;&lt;P&gt;What I want to display is the max date for each customer before the month year&amp;nbsp; value in the dimension&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2016 18:56:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-using-first-sorted-value/m-p/1177588#M382038</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2016-08-11T18:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: Help using first sorted value</title>
      <link>https://community.qlik.com/t5/QlikView/Help-using-first-sorted-value/m-p/1177589#M382039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Max date? or value associated with max date?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Max date: &lt;STRONG&gt;Max(DateField)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;For value associated with max date: &lt;STRONG&gt;FirstSortedValue(Value, -Date)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2016 18:59:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-using-first-sorted-value/m-p/1177589#M382039</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-11T18:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: Help using first sorted value</title>
      <link>https://community.qlik.com/t5/QlikView/Help-using-first-sorted-value/m-p/1177590#M382040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this: Change the fields accordingly. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= FirstSortedValue(Datefield, -Aggr(Max(Date(DateField, 'DD-MM-YYYY'), Customer))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2016 19:03:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-using-first-sorted-value/m-p/1177590#M382040</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2016-08-11T19:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: Help using first sorted value</title>
      <link>https://community.qlik.com/t5/QlikView/Help-using-first-sorted-value/m-p/1177591#M382041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where in this expression are you specifying to get the dates prior to date value of dimension?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2016 19:18:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-using-first-sorted-value/m-p/1177591#M382041</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2016-08-11T19:18:35Z</dc:date>
    </item>
    <item>
      <title>Re: Help using first sorted value</title>
      <link>https://community.qlik.com/t5/QlikView/Help-using-first-sorted-value/m-p/1177592#M382042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can also create a table in script with the Month_Year and customer as key and Min of Date field aggregated by the key.&lt;/P&gt;&lt;P&gt;This way you will get Min of Date as 1 record per Year_Month_Customer combination.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2016 19:37:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-using-first-sorted-value/m-p/1177592#M382042</guid>
      <dc:creator>neelamsaroha157</dc:creator>
      <dc:date>2016-08-11T19:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: Help using first sorted value</title>
      <link>https://community.qlik.com/t5/QlikView/Help-using-first-sorted-value/m-p/1177593#M382043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;"&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;What I want to display is the max date for each customer before the month year&amp;nbsp; value in the dimension"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure I understand what you want to achieve.&lt;/P&gt;&lt;P&gt;Do you want to display a value in the dimension section of your table, left of the month year dimension?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or do you want to create an expression that calculated the max(Date) before the month year per customer (so, for the previous month with regard to the current year month dimension value)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe some sample data and description of your expected result may help to understand.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2016 19:41:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-using-first-sorted-value/m-p/1177593#M382043</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-08-11T19:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: Help using first sorted value</title>
      <link>https://community.qlik.com/t5/QlikView/Help-using-first-sorted-value/m-p/1177594#M382044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the sample document I supplied in the following thread &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/228249"&gt;Help in expression FOR LOST CUSTOMERS&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Yes I want for each month year and customer on pivot table to get the last time that customer had a sales transaction I.e if I select June 2016 customer c1&lt;/P&gt;&lt;P&gt;Then next to June 2016 c1 display for example June 2015 if June 2015 was the last time this customer was invoiced before June 2016&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2016 19:51:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-using-first-sorted-value/m-p/1177594#M382044</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2016-08-11T19:51:24Z</dc:date>
    </item>
  </channel>
</rss>

