<?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: Applymap-aggregate by ID in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Applymap-aggregate-by-ID/m-p/943310#M959292</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I understand, when you have many values in Type (a, b, x, y) you can &lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Left Join (Table)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load ID, MinString(Type) as Result&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Resident Table&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Where Match(Type, 'a', 'b', 'x', 'y')&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;group by ID;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FinalTable:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;NoConcatenate load &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ID, Type, if(isnull(Result), Type, Result) as Result&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Resident Table;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;DROP Table Table;&lt;/EM&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;table is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;LOAD * Inline [&lt;/P&gt;&lt;P&gt;ID, Type&lt;/P&gt;&lt;P&gt;1, a&lt;/P&gt;&lt;P&gt;1, b&lt;/P&gt;&lt;P&gt;1, c&lt;/P&gt;&lt;P&gt;2, b&lt;/P&gt;&lt;P&gt;2, c&lt;/P&gt;&lt;P&gt;3, d&lt;/P&gt;&lt;P&gt;3, e&lt;/P&gt;&lt;P&gt;4, a&lt;/P&gt;&lt;P&gt;4, f&lt;/P&gt;&lt;P&gt;5, b&lt;/P&gt;&lt;P&gt;5, g&lt;/P&gt;&lt;P&gt;7, a&lt;/P&gt;&lt;P&gt;7, x&lt;/P&gt;&lt;P&gt;8, x&lt;/P&gt;&lt;P&gt;8, e&lt;/P&gt;&lt;P&gt;9, y&lt;/P&gt;&lt;P&gt;9, d&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Oct 2015 11:43:01 GMT</pubDate>
    <dc:creator>maxgro</dc:creator>
    <dc:date>2015-10-23T11:43:01Z</dc:date>
    <item>
      <title>Applymap-aggregate by ID</title>
      <link>https://community.qlik.com/t5/QlikView/Applymap-aggregate-by-ID/m-p/943304#M959286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ID, Type, Result&lt;/P&gt;&lt;P&gt;1,&amp;nbsp; a,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; a&lt;/P&gt;&lt;P&gt;1,&amp;nbsp; b,&amp;nbsp;&amp;nbsp;&amp;nbsp; a&lt;/P&gt;&lt;P&gt;1, c,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; a&lt;/P&gt;&lt;P&gt;2,&amp;nbsp; -,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; b&lt;/P&gt;&lt;P&gt;2, c,&amp;nbsp; b&lt;/P&gt;&lt;P&gt;3, d,&amp;nbsp; d&lt;/P&gt;&lt;P&gt;3, e, e&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there is "a" value with respect to ID in column "Type" , all values of column "result" should show value "a" corresponding to that column "ID".&amp;nbsp; If there is no " a" look for "b" and the&amp;nbsp; result column should show "b" for that ID, rest should remain same as "Type" in "Result".... In short: calculate the&amp;nbsp; result column using ID and Type..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Oct 2015 00:58:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Applymap-aggregate-by-ID/m-p/943304#M959286</guid>
      <dc:creator />
      <dc:date>2015-10-22T00:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: Applymap-aggregate by ID</title>
      <link>https://community.qlik.com/t5/QlikView/Applymap-aggregate-by-ID/m-p/943305#M959287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Add 2, b, b row also&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Oct 2015 01:00:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Applymap-aggregate-by-ID/m-p/943305#M959287</guid>
      <dc:creator />
      <dc:date>2015-10-22T01:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: Applymap-aggregate by ID</title>
      <link>https://community.qlik.com/t5/QlikView/Applymap-aggregate-by-ID/m-p/943306#M959288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * Inline [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ID, Type&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1,&amp;nbsp; a&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1,&amp;nbsp; b&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1, c&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2,&amp;nbsp; b&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2, -&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2, c&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3, d&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3, e&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Temp:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD ID as ID1,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Type as Result&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Table&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Where Type = 'a';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Concatenate(Temp)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD ID as ID1,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Type as Result&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Table&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Where Type = 'b' and not Exists(ID1, ID);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Join(Table)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD ID1 as ID,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Result&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Temp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DROP Table Temp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FinalTable:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NoConcatenate&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD ID,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Type,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; If(Len(Trim(Result)) = 0, Type, Result) as Result&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Table;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DROP Table Table;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/102738_Capture.PNG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Oct 2015 01:09:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Applymap-aggregate-by-ID/m-p/943306#M959288</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-10-22T01:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: Applymap-aggregate by ID</title>
      <link>https://community.qlik.com/t5/QlikView/Applymap-aggregate-by-ID/m-p/943307#M959289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cool ...that's was real quick....but what if I have so many distinct values in column "Type" !!! Cannot use where conditions&amp;nbsp; for all...it becomes to lenghty...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Oct 2015 01:23:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Applymap-aggregate-by-ID/m-p/943307#M959289</guid>
      <dc:creator />
      <dc:date>2015-10-22T01:23:13Z</dc:date>
    </item>
    <item>
      <title>Re: Applymap-aggregate by ID</title>
      <link>https://community.qlik.com/t5/QlikView/Applymap-aggregate-by-ID/m-p/943308#M959290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to do the same in the front end?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2015 01:50:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Applymap-aggregate-by-ID/m-p/943308#M959290</guid>
      <dc:creator />
      <dc:date>2015-10-23T01:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: Applymap-aggregate by ID</title>
      <link>https://community.qlik.com/t5/QlikView/Applymap-aggregate-by-ID/m-p/943309#M959291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just want to understand your question first. You said you want to know the first occurrence of a. If a is not there then go for b. If you are only interested in a and b there should be no problem if many distinct Type are present. Let me know if I am thinking in wrong direction or may be dont understood your question. We are ready to help further..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2015 06:20:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Applymap-aggregate-by-ID/m-p/943309#M959291</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2015-10-23T06:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: Applymap-aggregate by ID</title>
      <link>https://community.qlik.com/t5/QlikView/Applymap-aggregate-by-ID/m-p/943310#M959292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I understand, when you have many values in Type (a, b, x, y) you can &lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Left Join (Table)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load ID, MinString(Type) as Result&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Resident Table&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Where Match(Type, 'a', 'b', 'x', 'y')&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;group by ID;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FinalTable:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;NoConcatenate load &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ID, Type, if(isnull(Result), Type, Result) as Result&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Resident Table;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;DROP Table Table;&lt;/EM&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;table is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;LOAD * Inline [&lt;/P&gt;&lt;P&gt;ID, Type&lt;/P&gt;&lt;P&gt;1, a&lt;/P&gt;&lt;P&gt;1, b&lt;/P&gt;&lt;P&gt;1, c&lt;/P&gt;&lt;P&gt;2, b&lt;/P&gt;&lt;P&gt;2, c&lt;/P&gt;&lt;P&gt;3, d&lt;/P&gt;&lt;P&gt;3, e&lt;/P&gt;&lt;P&gt;4, a&lt;/P&gt;&lt;P&gt;4, f&lt;/P&gt;&lt;P&gt;5, b&lt;/P&gt;&lt;P&gt;5, g&lt;/P&gt;&lt;P&gt;7, a&lt;/P&gt;&lt;P&gt;7, x&lt;/P&gt;&lt;P&gt;8, x&lt;/P&gt;&lt;P&gt;8, e&lt;/P&gt;&lt;P&gt;9, y&lt;/P&gt;&lt;P&gt;9, d&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2015 11:43:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Applymap-aggregate-by-ID/m-p/943310#M959292</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-10-23T11:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: Applymap-aggregate by ID</title>
      <link>https://community.qlik.com/t5/QlikView/Applymap-aggregate-by-ID/m-p/943311#M959293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2015 12:02:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Applymap-aggregate-by-ID/m-p/943311#M959293</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-23T12:02:00Z</dc:date>
    </item>
    <item>
      <title>Re: Applymap-aggregate by ID</title>
      <link>https://community.qlik.com/t5/QlikView/Applymap-aggregate-by-ID/m-p/943312#M959294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, l will try: I want to keep distinct&amp;nbsp; type values( number in 1000's) in hierarchy in an excel file. Note: This order can change over period. Use the excel sheet for above analysis.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Oct 2015 01:53:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Applymap-aggregate-by-ID/m-p/943312#M959294</guid>
      <dc:creator />
      <dc:date>2015-10-24T01:53:20Z</dc:date>
    </item>
    <item>
      <title>Re: Applymap-aggregate by ID</title>
      <link>https://community.qlik.com/t5/QlikView/Applymap-aggregate-by-ID/m-p/943313#M959295</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: 12px; background-color: #f2f2f2;"&gt;Is it possible in qlikview? &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt; I want to keep distinct&amp;nbsp; type values (number in 1000's) in hierarchy in an excel file. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #f2f2f2; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Note: This order can change over period. Use the excel sheet for above analysis.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 31 Oct 2015 03:20:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Applymap-aggregate-by-ID/m-p/943313#M959295</guid>
      <dc:creator />
      <dc:date>2015-10-31T03:20:37Z</dc:date>
    </item>
  </channel>
</rss>

