<?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: Max Period in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Max-Period/m-p/1368339#M418476</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;I created the Period field in the load script, however when placing the formula I get no value&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;My Code&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-size: 48px; font-family: arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Log:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AutoNumber(Id_Recurso) as Id_Recurso,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthName(Log_Periodo) as Periodo,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Num(Log_Periodo) as #Periodo,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year(Log_Periodo) as Año,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month(Log_Periodo) as Mes,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ceil(Num(Month(Log_Periodo))/3) as Quarter&lt;/P&gt;&lt;P&gt;FROM [lib://Acumulado/Log_Acumulado.qvd]&lt;/P&gt;&lt;P&gt;(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="example.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/165433_example.png" style="height: 309px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Jun 2017 00:31:54 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-06-01T00:31:54Z</dc:date>
    <item>
      <title>Max Period</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Period/m-p/1368333#M418470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;Hello, someone can help me, I am applying the following formula&amp;nbsp; Concat(distinct {&amp;lt;Periodo={"=MonthName(Max(Periodo))"}&amp;gt;} Periodo,',')&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;and I want only the maximum period, but the formula ignores the Max, I do not want the value of all the data but only those that are visualized in the table, since it could show an amount For years, quarter and months on a pivot table, thank you very much&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;&lt;IMG alt="MaxPeriodo.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/165420_MaxPeriodo.png" style="height: 422px; width: 620px;" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2017 21:47:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Period/m-p/1368333#M418470</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-31T21:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: Max Period</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Period/m-p/1368334#M418471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan, maybe with:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;Concat(distinct {&amp;lt;Periodo={"$(=MonthName(Max(Periodo)))"}&amp;gt;} Periodo)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-size: 16px; font-family: arial, sans-serif;"&gt;Why not only?:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;MonthName(Max(Periodo))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2017 22:02:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Period/m-p/1368334#M418471</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2017-05-31T22:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: Max Period</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Period/m-p/1368335#M418472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You would need $ sign inside the element list - &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;Concat(distinct {&amp;lt;Periodo={"=$(=MonthName(Max(Periodo)))"}&amp;gt;} Periodo,',')&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2017 22:03:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Period/m-p/1368335#M418472</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2017-05-31T22:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: Max Period</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Period/m-p/1368336#M418473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Ruben but it did not work, my main objective is to achieve something of this style count({&amp;lt;Periodo={"=$(=MonthName(Max(Periodo)))"}&amp;gt;} Periodo), because if I put in the analysis set '$ (= Max (Period))' it will bring me the highest value of all data&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2017 00:07:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Period/m-p/1368336#M418473</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-01T00:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: Max Period</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Period/m-p/1368337#M418474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Digvijay but it did not work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2017 00:09:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Period/m-p/1368337#M418474</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-01T00:09:13Z</dc:date>
    </item>
    <item>
      <title>Re: Max Period</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Period/m-p/1368338#M418475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ensure that &lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;Periodo is a dual field generated out of date. If it is a text field then comparison might not work.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2017 00:21:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Period/m-p/1368338#M418475</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2017-06-01T00:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: Max Period</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Period/m-p/1368339#M418476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;I created the Period field in the load script, however when placing the formula I get no value&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;My Code&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-size: 48px; font-family: arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Log:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AutoNumber(Id_Recurso) as Id_Recurso,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthName(Log_Periodo) as Periodo,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Num(Log_Periodo) as #Periodo,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year(Log_Periodo) as Año,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month(Log_Periodo) as Mes,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ceil(Num(Month(Log_Periodo))/3) as Quarter&lt;/P&gt;&lt;P&gt;FROM [lib://Acumulado/Log_Acumulado.qvd]&lt;/P&gt;&lt;P&gt;(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="example.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/165433_example.png" style="height: 309px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2017 00:31:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Period/m-p/1368339#M418476</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-01T00:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: Max Period</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Period/m-p/1368340#M418477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried on sample , and this expression worked for me. &lt;/P&gt;&lt;P&gt;=concat(distinct {&amp;lt;Periodo={'$(=Monthname(Max(Periodo)))'}&amp;gt;}Periodo,',')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2017 01:00:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Period/m-p/1368340#M418477</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2017-06-01T01:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: Max Period</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Period/m-p/1368341#M418478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;Yes, but it only brings the last period of the highest year, the rest of the years does not show the corresponding, you could look at my qvf please, what I try is for a year to see the last month, for a quarter to see the last month of this And finally see month by month, thanks for your time&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2017 01:09:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Period/m-p/1368341#M418478</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-01T01:09:30Z</dc:date>
    </item>
  </channel>
</rss>

