<?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 mapping in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/mapping/m-p/233813#M85341</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;look in attached file: doesn't work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Slash&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 May 2010 14:02:36 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-05-07T14:02:36Z</dc:date>
    <item>
      <title>mapping</title>
      <link>https://community.qlik.com/t5/QlikView/mapping/m-p/233809#M85337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;in this case:&lt;EM&gt;&lt;BR /&gt; A::&lt;BR /&gt;&lt;BR /&gt; load * Inline [&lt;BR /&gt;acl , cle , description , amount&lt;BR /&gt; 2102 , 2102 , invoice, 0&lt;BR /&gt; 62147 ,62147, payment, 100&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;I need to replace the description called Invoice by Description called Payment&lt;/P&gt;&lt;P&gt;is it possible by Mapping?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Slash&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;EM&gt;&lt;/EM&gt;&lt;P&gt;&lt;EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 May 2010 15:57:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/mapping/m-p/233809#M85337</guid>
      <dc:creator />
      <dc:date>2010-05-06T15:57:40Z</dc:date>
    </item>
    <item>
      <title>mapping</title>
      <link>https://community.qlik.com/t5/QlikView/mapping/m-p/233810#M85338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you trying to end up with this?&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;acl, cle, description, amount&lt;BR /&gt;2102, 2102, payment, 0&lt;BR /&gt;62147, 62147, payment, 100&lt;/P&gt;&lt;P&gt;If so, you can do it just with an if():&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;if(description='invoice','payment',description) as description&lt;/P&gt;&lt;P&gt;But you can also do it with mapping:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;[Description Map]:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;From, To&lt;BR /&gt;invoice, payment&lt;BR /&gt;];&lt;BR /&gt;...&lt;BR /&gt;applymap('Description Map',description) as description&lt;/P&gt;&lt;P&gt;For me, it's a matter of how many entries I'm expecting to have. If I'm only mapping a few values, I'll just use if() or maybe pick(match()). If I'm mapping a lot of values, I'll use a map.&lt;/P&gt;&lt;P&gt;But I could also be completely misunderstanding what you're trying to accomplish.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 May 2010 22:25:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/mapping/m-p/233810#M85338</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-05-06T22:25:03Z</dc:date>
    </item>
    <item>
      <title>mapping</title>
      <link>https://community.qlik.com/t5/QlikView/mapping/m-p/233811#M85339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Thnks but is not too easy the problem I need to solve.&lt;/P&gt;&lt;P&gt;If I put the value ina table Streight I obtain:&lt;BR /&gt;Please look the attached file.&lt;/P&gt;&lt;P&gt;the total in chart MUST be distinct&lt;BR /&gt;I MUST to use the straight table and not the pivot becouse I need to sum by column&lt;/P&gt;&lt;P&gt;I need to obtain all in one row LIKE THSI:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;__________________________________&lt;/P&gt;&lt;P&gt;CUSTOMER | description |debit| credit|&lt;BR /&gt;-------------------------------------------------------------&lt;BR /&gt; AAA | Invoice 12345 |100 | 100 |&lt;BR /&gt;----------------------------------------------------------------&lt;BR /&gt;total 100 | 100 |&lt;BR /&gt;--------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgrds,&lt;/P&gt;&lt;P&gt;Sl&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 May 2010 09:51:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/mapping/m-p/233811#M85339</guid>
      <dc:creator />
      <dc:date>2010-05-07T09:51:58Z</dc:date>
    </item>
    <item>
      <title>mapping</title>
      <link>https://community.qlik.com/t5/QlikView/mapping/m-p/233812#M85340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Through Mapping it is possible .But, i am not sure whethter it can be applied on INline Tables&lt;/P&gt;&lt;P&gt;Create a Mapping Inline Table like this..&lt;/P&gt;&lt;P&gt;Map_Pay_Desc:&lt;/P&gt;&lt;P&gt;Mapping Load * Inline&lt;/P&gt;&lt;P&gt;[ Description ,NewDescription&lt;/P&gt;&lt;P&gt;Inventory, Payment,&lt;/P&gt;&lt;P&gt;Payment, Payment&lt;/P&gt;&lt;P&gt;]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&lt;EM&gt;acl ,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;cle ,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ApplyMap( ' Map_Pay_Desc',description ) as Desc,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;amount&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Resident A;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Try in this way,i hope ur problem is solved..&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Regards,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Ajay&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 May 2010 10:29:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/mapping/m-p/233812#M85340</guid>
      <dc:creator>spsrk_84</dc:creator>
      <dc:date>2010-05-07T10:29:20Z</dc:date>
    </item>
    <item>
      <title>mapping</title>
      <link>https://community.qlik.com/t5/QlikView/mapping/m-p/233813#M85341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;look in attached file: doesn't work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Slash&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 May 2010 14:02:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/mapping/m-p/233813#M85341</guid>
      <dc:creator />
      <dc:date>2010-05-07T14:02:36Z</dc:date>
    </item>
    <item>
      <title>mapping</title>
      <link>https://community.qlik.com/t5/QlikView/mapping/m-p/233814#M85342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;Slash69 wrote: I need to obtain all in one row LIKE THSI:&lt;BR style="padding-left:30px;" /&gt;CUSTOMER | description |debit| credit|&lt;BR /&gt;------------------------------------------------&lt;BR /&gt;AAA | Invoice 12345 |100 | 100 |&lt;BR /&gt;------------------------------------------------&lt;BR /&gt;total 100 | 100 |&lt;BR /&gt;------------------------------------------------&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Sorry, but if you're trying to join those two rows together, I don't see anything reliable to join on. Applying payments to invoices requires, I believe, one of two things:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The payment to specify the invoice it is paying (or some other ID that can be tied back to the invoice, like a shipment ID if your invoices are always for whole or multiple whole shipments).&lt;/LI&gt;&lt;LI&gt;An algorithm to allocate payments to invoices, such as applying each payment to the oldest invoice for that customer that still has an outstanding balance due.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Your example data meets neither of these requirements. The only thing in common is a customer ID. That tells me that you need an algorithm for applying payments.&lt;/P&gt;&lt;P&gt;And if you're using an algorithm to apply payments to invoices, I STRONGLY suggest that this be done in your business system. QlikView is a REPORTING system. It is not designed to actually MANAGE your accounts receivable. So apply payments in the business system, and have the business system EXPLICITLY state which invoice a payment is being applied to, or if it is a many to many relationship, have the business system build a table with a payment ID, invoice ID, and the amount of that payment being applied to that invoice. Either way, now you have an explicit key to join these rows together if desired.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 May 2010 18:03:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/mapping/m-p/233814#M85342</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-05-07T18:03:56Z</dc:date>
    </item>
  </channel>
</rss>

