<?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: Merge 2 fields in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Merge-2-fields/m-p/611636#M1114349</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, it doesn't make sense to me. Your explanation would lead me to do this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NewFieldTable:&lt;/P&gt;&lt;P&gt;Load distinct FieldB as FieldNew&lt;/P&gt;&lt;P&gt;resident Table1;&lt;/P&gt;&lt;P&gt;Load distinct FieldE as FieldNew&lt;/P&gt;&lt;P&gt;resident Table1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which, I'm sure, is totally useless and not what you're looking for. Try posting a source table and the result table you expect.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Feb 2014 10:03:46 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2014-02-20T10:03:46Z</dc:date>
    <item>
      <title>Merge 2 fields</title>
      <link>https://community.qlik.com/t5/QlikView/Merge-2-fields/m-p/611635#M1114346</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;&lt;/P&gt;&lt;P&gt;I need some help on merging 2 fields together. The 2 fields are both in the same table and one of the fields are created from a mapping load..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FieldA,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FieldB,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FieldC,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; applymap('FieldD',FieldA,'Unknown') as FieldE&lt;/P&gt;&lt;P&gt;From..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to combine the mapping field (FieldE) with FieldB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which would give me the following result. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the values for FieldB are&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Value1&lt;/P&gt;&lt;P&gt;Value2&lt;/P&gt;&lt;P&gt;Value3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and the values for FieldE are&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Value4&lt;/P&gt;&lt;P&gt;Value5&lt;/P&gt;&lt;P&gt;Value6&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then i want the combined field to have the following values..&lt;/P&gt;&lt;P&gt;Value1&lt;/P&gt;&lt;P&gt;Value2&lt;/P&gt;&lt;P&gt;Value3&lt;/P&gt;&lt;P&gt;Value4&lt;/P&gt;&lt;P&gt;Value5&lt;/P&gt;&lt;P&gt;Value6&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does that make sense?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 09:59:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Merge-2-fields/m-p/611635#M1114346</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2014-02-20T09:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: Merge 2 fields</title>
      <link>https://community.qlik.com/t5/QlikView/Merge-2-fields/m-p/611636#M1114349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, it doesn't make sense to me. Your explanation would lead me to do this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NewFieldTable:&lt;/P&gt;&lt;P&gt;Load distinct FieldB as FieldNew&lt;/P&gt;&lt;P&gt;resident Table1;&lt;/P&gt;&lt;P&gt;Load distinct FieldE as FieldNew&lt;/P&gt;&lt;P&gt;resident Table1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which, I'm sure, is totally useless and not what you're looking for. Try posting a source table and the result table you expect.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 10:03:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Merge-2-fields/m-p/611636#M1114349</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-02-20T10:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: Merge 2 fields</title>
      <link>https://community.qlik.com/t5/QlikView/Merge-2-fields/m-p/611637#M1114352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;As Mr. Wassenaar mentioned, reading the same table twice while naming the same field name for both FieldB and FieldE will be the answer.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Be careful not to read the other columns twice. Otherwise, the result of the calculation will differ from the actual numbers.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;In addition, please see the attached file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;I put a straight table on dashboard and the sum(Sales) number on this table is correct.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;However, if adding Product dimension into this table, total amount of Product column will be double of actual number.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;You have to be very careful in expressions on each chart.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;I think you better reading source data without changing the original structure if possible.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;I am not sure this is what you want.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2014 04:50:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Merge-2-fields/m-p/611637#M1114352</guid>
      <dc:creator />
      <dc:date>2014-05-19T04:50:18Z</dc:date>
    </item>
  </channel>
</rss>

