<?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: Set analysis - concatenating in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-concatenating/m-p/469578#M486086</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the response. Unfortunately didn't work. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To be clear on the data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Incurred Year" is a 4 digit text field (ex 2013)&lt;/P&gt;&lt;P&gt;"Incurred Year Month" is 6 digit text field (ex 201302)&lt;/P&gt;&lt;P&gt;"Renwal Month" is 2 digit text field (ex 02)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Apr 2013 20:31:03 GMT</pubDate>
    <dc:creator>zagzebski</dc:creator>
    <dc:date>2013-04-18T20:31:03Z</dc:date>
    <item>
      <title>Set analysis - concatenating</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-concatenating/m-p/469576#M486084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the following expression that works fine:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum ({&amp;lt;[Incurred Year] = {$(=Max([Incurred Year]))}&amp;gt;}[Car Sales])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I need to make it so that the above changes so that the left side of the equation is &amp;lt;[Incurred Year Month] and now the right side needs to still be the max of the Incurred Year field BUT also concatenated with the field [Renewal Month].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;In non-Qlikview terms:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Incurred Year Month] = max([Incurred Year] &amp;amp; [Renwal Month]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2013 20:13:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-concatenating/m-p/469576#M486084</guid>
      <dc:creator>zagzebski</dc:creator>
      <dc:date>2013-04-18T20:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis - concatenating</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-concatenating/m-p/469577#M486085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I didn't try but you could use this.Check the MonthDate format is the same that &lt;STRONG style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;[Incurred Year Month] and the ()...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Sum ({&amp;lt;[Incurred Year Month] = {$(=MonthName(makedate(Max([Incurred Year]),&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;[Renwal Month]&lt;/SPAN&gt;,1),'MMM/YYYY'))}&amp;gt;}[Car Sales])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;hope this helps&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2013 20:24:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-concatenating/m-p/469577#M486085</guid>
      <dc:creator>chematos</dc:creator>
      <dc:date>2013-04-18T20:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis - concatenating</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-concatenating/m-p/469578#M486086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the response. Unfortunately didn't work. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To be clear on the data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Incurred Year" is a 4 digit text field (ex 2013)&lt;/P&gt;&lt;P&gt;"Incurred Year Month" is 6 digit text field (ex 201302)&lt;/P&gt;&lt;P&gt;"Renwal Month" is 2 digit text field (ex 02)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2013 20:31:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-concatenating/m-p/469578#M486086</guid>
      <dc:creator>zagzebski</dc:creator>
      <dc:date>2013-04-18T20:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis - concatenating</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-concatenating/m-p/469579#M486087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried to change the format to YYYYMM.&lt;/P&gt;&lt;P&gt;The idea is the next: makedate(2013, 02,01) return a date in your default date format, using MonthName() to that date would return Feb 2013, but you need to get 201302 so we use MonthName( date, 'YYYYMM').&lt;/P&gt;&lt;P&gt;Maybe there is a syntax problem but I think is something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Sum ({&amp;lt;[Incurred Year Month] = {$(=MonthName(makedate(Max([Incurred Year]),[Renwal Month],01),'YYYYMM'))}&amp;gt;}[Car Sales])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2013 20:36:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-concatenating/m-p/469579#M486087</guid>
      <dc:creator>chematos</dc:creator>
      <dc:date>2013-04-18T20:36:58Z</dc:date>
    </item>
  </channel>
</rss>

