<?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: Apply Map in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Apply-Map/m-p/879591#M1006684</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What exactly your Map table is going to return ? If going to return some numbers then there should be mathematical operations before &lt;SPAN style="font-size: 13.3333330154419px;"&gt;POL_DISC_LC_1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM(TRIM(ApplyMap('Pol_DISC_MAP',TP_BI_ID,Null()))&lt;STRONG&gt;POL_DISC_LC_1&lt;/STRONG&gt;)/COUNT(DISTINCT TR_RISK_SR_NO) as RISK_DISC_LC_1,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 May 2015 11:36:28 GMT</pubDate>
    <dc:creator>manojkulkarni</dc:creator>
    <dc:date>2015-05-18T11:36:28Z</dc:date>
    <item>
      <title>Apply Map</title>
      <link>https://community.qlik.com/t5/QlikView/Apply-Map/m-p/879588#M1006681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using apply map function for my requirement. Apply map has been applied perfectly.&lt;/P&gt;&lt;P&gt;I'm taking&amp;nbsp; field from&amp;nbsp; table 1 through apply map.&lt;/P&gt;&lt;P&gt;I need to do&amp;nbsp; calculation of this fields at&amp;nbsp; table 2.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;SUM&lt;/SPAN&gt;(TRIM(ApplyMap('Pol_DISC_MAP',TP_BI_ID,Null()))&lt;STRONG style="text-decoration: underline;"&gt;&lt;SPAN style="color: #ff0000; text-decoration: underline;"&gt;POL_DISC_LC_1&lt;SPAN style="color: #000000; text-decoration: underline;"&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;/COUNT(DISTINCT TR_RISK_SR_NO) as RISK_DISC_LC_1,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible to do&amp;nbsp; like above in another way because the above logic is throwing&amp;nbsp; error. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please anyone suggest me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Krishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2015 11:25:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Apply-Map/m-p/879588#M1006681</guid>
      <dc:creator>krishna20</dc:creator>
      <dc:date>2015-05-18T11:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: Apply Map</title>
      <link>https://community.qlik.com/t5/QlikView/Apply-Map/m-p/879589#M1006682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Krishna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you post an small example of what you are trying to do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you are doing will not work because POL_DISC_LC_A is directly after the brackets which is wrong syntax, also you want to take sum of something that is a string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Rajesh Vaswani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2015 11:31:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Apply-Map/m-p/879589#M1006682</guid>
      <dc:creator>rajeshvaswani77</dc:creator>
      <dc:date>2015-05-18T11:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: Apply Map</title>
      <link>https://community.qlik.com/t5/QlikView/Apply-Map/m-p/879590#M1006683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you missing an operator before &lt;STRONG style="color: #ff0000; font-size: 13px; font-style: inherit; text-decoration: underline; font-family: inherit; font-weight: inherit;"&gt;POL_DISC_LC_1?&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2015 11:35:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Apply-Map/m-p/879590#M1006683</guid>
      <dc:creator>Ralf-Narfeldt</dc:creator>
      <dc:date>2015-05-18T11:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: Apply Map</title>
      <link>https://community.qlik.com/t5/QlikView/Apply-Map/m-p/879591#M1006684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What exactly your Map table is going to return ? If going to return some numbers then there should be mathematical operations before &lt;SPAN style="font-size: 13.3333330154419px;"&gt;POL_DISC_LC_1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM(TRIM(ApplyMap('Pol_DISC_MAP',TP_BI_ID,Null()))&lt;STRONG&gt;POL_DISC_LC_1&lt;/STRONG&gt;)/COUNT(DISTINCT TR_RISK_SR_NO) as RISK_DISC_LC_1,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2015 11:36:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Apply-Map/m-p/879591#M1006684</guid>
      <dc:creator>manojkulkarni</dc:creator>
      <dc:date>2015-05-18T11:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: Apply Map</title>
      <link>https://community.qlik.com/t5/QlikView/Apply-Map/m-p/879592#M1006685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;Please find the sample file.&lt;/P&gt;&lt;P&gt;My apply map field need to return the amount field&amp;nbsp; from table 1 and it will be taken as sum in the Table 2.&lt;/P&gt;&lt;P&gt;Here the total sum should be divided by the count(TR_RISK_SR_NO).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2015 12:05:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Apply-Map/m-p/879592#M1006685</guid>
      <dc:creator>krishna20</dc:creator>
      <dc:date>2015-05-18T12:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: Apply Map</title>
      <link>https://community.qlik.com/t5/QlikView/Apply-Map/m-p/879593#M1006686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I will suggest you, &lt;/P&gt;&lt;P&gt;first do only applymap &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ApplyMap('Pol_DISC_MAP',TP_BI_ID,Null()))&lt;/SPAN&gt;&lt;STRONG style="color: #ff0000; font-size: 13px; font-style: inherit; text-decoration: underline; font-family: inherit; font-weight: inherit;"&gt;POL_DISC_LC_1&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #000000;"&gt;) as colname&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then in preceding load or in resident load do other calculation.&lt;/P&gt;&lt;P&gt;do you use any group by function in load for aggregation ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;BKC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2015 12:12:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Apply-Map/m-p/879593#M1006686</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-18T12:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: Apply Map</title>
      <link>https://community.qlik.com/t5/QlikView/Apply-Map/m-p/879594#M1006687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bala,&lt;/P&gt;&lt;P&gt;Yes i tried before as you told.In this situation, my table fields will repeat thrice because of using group By function.&lt;/P&gt;&lt;P&gt;In preceding load we need to load all fields and need to repeat at Group By.&lt;/P&gt;&lt;P&gt;As usual Table Load 1 time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2015 12:17:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Apply-Map/m-p/879594#M1006687</guid>
      <dc:creator>krishna20</dc:creator>
      <dc:date>2015-05-18T12:17:28Z</dc:date>
    </item>
    <item>
      <title>Re: Apply Map</title>
      <link>https://community.qlik.com/t5/QlikView/Apply-Map/m-p/879595#M1006688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you want to load aggregated table then definitely you need to include all the fields in group by.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for preceding load you can have&lt;/P&gt;&lt;P&gt;load *,&lt;/P&gt;&lt;P&gt;sum(col name) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or you can do resident load and drop the original table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;BKC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2015 13:39:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Apply-Map/m-p/879595#M1006688</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-18T13:39:59Z</dc:date>
    </item>
  </channel>
</rss>

