<?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 Concat Question in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Concat-Question/m-p/158415#M33497</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why do you want to use concat and max ad the same time?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Oct 2010 14:42:48 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-10-25T14:42:48Z</dc:date>
    <item>
      <title>Concat Question</title>
      <link>https://community.qlik.com/t5/QlikView/Concat-Question/m-p/158413#M33495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;BR /&gt;&lt;BR /&gt;I'm working on this Concat-formula and get again no result.&lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;LOAD * INLINE [&lt;/B&gt;&lt;/P&gt;&lt;P&gt;Years&lt;BR /&gt;...,&lt;BR /&gt;2007,&lt;BR /&gt;2008,&lt;BR /&gt;2009,&lt;BR /&gt;2010&lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;]&lt;/B&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;=max( concat( {$} distinct Years, ',') )&lt;/P&gt;&lt;P&gt;The result should be 2010.&lt;BR /&gt;you know what it is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Oct 2010 14:39:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat-Question/m-p/158413#M33495</guid>
      <dc:creator />
      <dc:date>2010-10-25T14:39:20Z</dc:date>
    </item>
    <item>
      <title>Concat Question</title>
      <link>https://community.qlik.com/t5/QlikView/Concat-Question/m-p/158414#M33496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Concat creates a comma separated list, which the Max function can't handle. Try:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Rangemax(Concat({1} distinct Years, ','))&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Also, why can't you use:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Max(Years)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Oct 2010 14:41:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat-Question/m-p/158414#M33496</guid>
      <dc:creator />
      <dc:date>2010-10-25T14:41:52Z</dc:date>
    </item>
    <item>
      <title>Concat Question</title>
      <link>https://community.qlik.com/t5/QlikView/Concat-Question/m-p/158415#M33497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why do you want to use concat and max ad the same time?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Oct 2010 14:42:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat-Question/m-p/158415#M33497</guid>
      <dc:creator />
      <dc:date>2010-10-25T14:42:48Z</dc:date>
    </item>
    <item>
      <title>Concat Question</title>
      <link>https://community.qlik.com/t5/QlikView/Concat-Question/m-p/158416#M33498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just use: =max(Year). Than you get the same result&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Oct 2010 14:44:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat-Question/m-p/158416#M33498</guid>
      <dc:creator />
      <dc:date>2010-10-25T14:44:18Z</dc:date>
    </item>
    <item>
      <title>AW:Concat Question</title>
      <link>https://community.qlik.com/t5/QlikView/Concat-Question/m-p/158417#M33499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;thanks for the Answer,&lt;/P&gt;&lt;P&gt;I want to compare selected years.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The formula in the chart is:&lt;/P&gt;&lt;P&gt;=Sum(&lt;BR /&gt;{$&amp;lt;Years={&lt;BR /&gt; $(=(max(concat({$} distinct Years,','))))&lt;BR /&gt;}&lt;BR /&gt; } sales&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Oct 2010 14:48:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat-Question/m-p/158417#M33499</guid>
      <dc:creator />
      <dc:date>2010-10-25T14:48:22Z</dc:date>
    </item>
    <item>
      <title>AW:Concat Question</title>
      <link>https://community.qlik.com/t5/QlikView/Concat-Question/m-p/158418#M33500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you try Rangemax()? The Range functions take a comma separated list and pick out the biggest value (or smallest, etc depending on which one you're using). If you can't simply use Max(Years), then Rangemax(Concat({1} distinct Years, ',')) will do what you're trying to do.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Oct 2010 14:58:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat-Question/m-p/158418#M33500</guid>
      <dc:creator />
      <dc:date>2010-10-25T14:58:57Z</dc:date>
    </item>
    <item>
      <title>AW:Concat Question</title>
      <link>https://community.qlik.com/t5/QlikView/Concat-Question/m-p/158419#M33501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I think you can get what you are trying with&lt;/P&gt;&lt;P style="font-style: italic"&gt;=Sum({$&amp;lt;Years={ $(=(max(Years)))}&amp;gt;} sales)&lt;/P&gt;&lt;P&gt;This will sum the sales amounts for records where the year is the latest in the file (2010 in your example)\&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit: Formula type corrected&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Oct 2010 15:15:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat-Question/m-p/158419#M33501</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2010-10-25T15:15:40Z</dc:date>
    </item>
    <item>
      <title>AW:Re: AW:Concat Question</title>
      <link>https://community.qlik.com/t5/QlikView/Concat-Question/m-p/158420#M33502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;=Sum({$} sales)&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Oct 2010 15:34:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat-Question/m-p/158420#M33502</guid>
      <dc:creator />
      <dc:date>2010-10-25T15:34:34Z</dc:date>
    </item>
    <item>
      <title>AW:Re: AW:Concat Question</title>
      <link>https://community.qlik.com/t5/QlikView/Concat-Question/m-p/158421#M33503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure what you mean by that. Is it a question or an answer?&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Oct 2010 15:38:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat-Question/m-p/158421#M33503</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2010-10-25T15:38:14Z</dc:date>
    </item>
    <item>
      <title>AW:Concat Question</title>
      <link>https://community.qlik.com/t5/QlikView/Concat-Question/m-p/158422#M33504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;I&gt;ignore the last post&lt;/I&gt;&lt;IMG alt="Smile" src="http://community.qlik.com/emoticons/emotion-1.gif" /&gt;&lt;BR /&gt;&lt;BR /&gt;your formula&lt;BR /&gt;=Sum({$&amp;lt;Years={ $(=(max(Years)))}&amp;gt;} sales)&lt;BR /&gt;is correct.&lt;BR /&gt;&lt;BR /&gt;But if I want to compare the years 2001,2003,2009, I need the Concat function&lt;BR /&gt;&lt;BR /&gt;Here is the solution:&lt;BR /&gt;Max({$&amp;lt;Years={$(=(concat({$} DISTINCT Years,',')))}&amp;gt;}DISTINCT Years)&lt;BR /&gt;&lt;BR /&gt;The Complete solution I'll post when everything is ready&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Oct 2010 15:41:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat-Question/m-p/158422#M33504</guid>
      <dc:creator />
      <dc:date>2010-10-25T15:41:40Z</dc:date>
    </item>
    <item>
      <title>AW:Concat Question</title>
      <link>https://community.qlik.com/t5/QlikView/Concat-Question/m-p/158423#M33505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;QJ&lt;/P&gt;&lt;P&gt;I stand open to correction on this, but as far as I can see&lt;/P&gt;&lt;P style="font-style: italic"&gt;Max({$&amp;lt;Years={$(=(concat({$} DISTINCT Years,',')))}&amp;gt;}DISTINCT Years)&lt;/P&gt;&lt;P&gt;will return the same value as Max(Years), only more complex and less efficient. Am I missing something?&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Oct 2010 15:48:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat-Question/m-p/158423#M33505</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2010-10-25T15:48:46Z</dc:date>
    </item>
    <item>
      <title>AW:Re: AW:Concat Question</title>
      <link>https://community.qlik.com/t5/QlikView/Concat-Question/m-p/158424#M33506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you're right.&lt;BR /&gt;Years: 2001,2003,2006&lt;BR /&gt;If I need the Max value, then I can &lt;B&gt;Max (Years)&lt;/B&gt; take. But if I need the second point, I think, i must work with Concat.&lt;BR /&gt;For example i need the Year 2003&lt;BR /&gt;&lt;BR /&gt;Or is there another, better solution?......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Oct 2010 15:54:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat-Question/m-p/158424#M33506</guid>
      <dc:creator />
      <dc:date>2010-10-25T15:54:36Z</dc:date>
    </item>
    <item>
      <title>AW:Re: AW:Concat Question</title>
      <link>https://community.qlik.com/t5/QlikView/Concat-Question/m-p/158425#M33507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, but how are you selecting the year that you need?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Oct 2010 15:58:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat-Question/m-p/158425#M33507</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2010-10-25T15:58:41Z</dc:date>
    </item>
    <item>
      <title>AW:Re: AW:Concat Question</title>
      <link>https://community.qlik.com/t5/QlikView/Concat-Question/m-p/158426#M33508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many roads lead to rom and i chose the difficult road ahead &lt;IMG alt="Big Smile" src="http://community.qlik.com/emoticons/emotion-2.gif" /&gt;&lt;/P&gt;&lt;P&gt;i select the years on the ListBox&lt;BR /&gt;&lt;BR /&gt;Max(Years,2)&lt;BR /&gt;Max(Years,3)&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;I had to use this formula.&lt;BR /&gt;=Sum({$&amp;lt;Years={$(=max(Years,2))}&amp;gt;} sales)&lt;/P&gt;&lt;P&gt;Thanks for your help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Oct 2010 16:03:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat-Question/m-p/158426#M33508</guid>
      <dc:creator />
      <dc:date>2010-10-25T16:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: AW:Concat Question</title>
      <link>https://community.qlik.com/t5/QlikView/Concat-Question/m-p/158427#M33509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The formula does not work. The concat is OK but when you set it as the argument of the rangemax, the result is null...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2013 14:33:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat-Question/m-p/158427#M33509</guid>
      <dc:creator />
      <dc:date>2013-01-17T14:33:21Z</dc:date>
    </item>
  </channel>
</rss>

