<?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: How can I build one table merging infos from two columns? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-can-I-build-one-table-merging-infos-from-two-columns/m-p/31360#M773271</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a subfield in the script like this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a:&lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp; Column1,Column2, SubField(Column1&amp;amp;'_'&amp;amp;'Column1'&amp;amp;'-'&amp;amp;Column2&amp;amp;'_'&amp;amp;'Column2','-') as Key INLINE [&lt;/P&gt;&lt;P&gt;Column1,Column2&lt;/P&gt;&lt;P&gt;John, Mary &lt;/P&gt;&lt;P&gt;Fred, Paul &lt;/P&gt;&lt;P&gt;John, Paul &lt;/P&gt;&lt;P&gt;Fred, Mary &lt;/P&gt;&lt;P&gt;Mary ,Paul &lt;/P&gt;&lt;P&gt;John, Fred &lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the chart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimnesion :&amp;nbsp; left(Key,findoneof(Key,'_')-1)&lt;BR /&gt;Exp1: count({&amp;lt;Key={"*Column1*"}&amp;gt;}Key)&lt;/P&gt;&lt;P&gt;Exp2: count({&amp;lt;Key={"*Column2*"}&amp;gt;}Key)&lt;/P&gt;&lt;P&gt;Total :&amp;nbsp; Column(1)+ Column(2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/202377_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 May 2018 06:07:20 GMT</pubDate>
    <dc:creator>qliksus</dc:creator>
    <dc:date>2018-05-15T06:07:20Z</dc:date>
    <item>
      <title>How can I build one table merging infos from two columns?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-build-one-table-merging-infos-from-two-columns/m-p/31355#M773266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose I have one databank about games of some sport. I have in Column1 the names of the first player and in Column2 the names of second player.&lt;/P&gt;&lt;P&gt;Since each name can appear in both columns (some games as first and some as second player), I want do build a table which tells me, for each name, how many times it appears in Column1, how many in Column2 and the sum of both columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, suppose that I have this data:&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="184" style="border: 1px solid #000000; width: 527px; height: 186px;" width="525"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Column1&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Column2&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;John&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;Mary&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="text-align: center;"&gt;Fred&lt;/TD&gt;&lt;TD style="text-align: center;"&gt;Paul&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="text-align: center;"&gt;John&lt;/TD&gt;&lt;TD style="text-align: center;"&gt;Paul&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="text-align: center;"&gt;Fred&lt;/TD&gt;&lt;TD style="text-align: center;"&gt;Mary&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="text-align: center;"&gt;Mary&lt;/TD&gt;&lt;TD style="text-align: center;"&gt;Paul&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="text-align: center;"&gt;John&lt;/TD&gt;&lt;TD style="text-align: center;"&gt;Fred&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thus, I wanted to get this table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="127" style="border: 1px solid #000000; width: 443px; height: 129px;" width="441"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Name&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Column1&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Column2&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Sum&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;John&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;0&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: center;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="text-align: center;"&gt;Mary&lt;/TD&gt;&lt;TD style="text-align: center;"&gt;1&lt;/TD&gt;&lt;TD style="text-align: center;"&gt;2&lt;/TD&gt;&lt;TD style="text-align: center;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="text-align: center;"&gt;Paul&lt;/TD&gt;&lt;TD style="text-align: center;"&gt;0&lt;/TD&gt;&lt;TD style="text-align: center;"&gt;3&lt;/TD&gt;&lt;TD style="text-align: center;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="text-align: center;"&gt;Fred&lt;/TD&gt;&lt;TD style="text-align: center;"&gt;2&lt;/TD&gt;&lt;TD style="text-align: center;"&gt;1&lt;/TD&gt;&lt;TD style="text-align: center;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I do it? Many thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-build-one-table-merging-infos-from-two-columns/m-p/31355#M773266</guid>
      <dc:creator>mlarruda</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How can I build one table merging infos from two columns?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-build-one-table-merging-infos-from-two-columns/m-p/31356#M773267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Column1, Column2&lt;/P&gt;&lt;P&gt;John, Mary&lt;/P&gt;&lt;P&gt;Fred, Paul&lt;/P&gt;&lt;P&gt;John, Paul&lt;/P&gt;&lt;P&gt;Fred, Mary&lt;/P&gt;&lt;P&gt;Mary, Paul&lt;/P&gt;&lt;P&gt;John, Fred&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;Table2:&lt;/P&gt;&lt;P&gt;LOAD Column1, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Count(Column1) AS Col1Cnt&lt;/P&gt;&lt;P&gt;Resident Table1&lt;/P&gt;&lt;P&gt;Group By Column1&lt;/P&gt;&lt;P&gt;Order By Column1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JOIN(Table2)&lt;/P&gt;&lt;P&gt;Table3:&lt;/P&gt;&lt;P&gt;LOAD Column2 AS Column1, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Count(Column2) AS Col2Cnt &lt;/P&gt;&lt;P&gt;Resident Table1&lt;/P&gt;&lt;P&gt;Group By Column2&lt;/P&gt;&lt;P&gt;Order By Column2 ASC;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP TABLE Table1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add straight table and use&lt;/P&gt;&lt;P&gt;Dim: Column1&lt;/P&gt;&lt;P&gt;Expr: =Sum(Col1Cnt)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = Sum(Col2Cnt)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = RangeSum(Col1Cnt, Col2Cnt) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/202379_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2018 20:32:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-build-one-table-merging-infos-from-two-columns/m-p/31356#M773267</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2018-05-14T20:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: How can I build one table merging infos from two columns?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-build-one-table-merging-infos-from-two-columns/m-p/31357#M773268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you but, since I have many player names, this LOAD * INLINE routine isn't a viable option.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2018 20:40:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-build-one-table-merging-infos-from-two-columns/m-p/31357#M773268</guid>
      <dc:creator>mlarruda</dc:creator>
      <dc:date>2018-05-14T20:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: How can I build one table merging infos from two columns?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-build-one-table-merging-infos-from-two-columns/m-p/31358#M773269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have used Load * Inline because i have worked on your data sample you posted. Just use what ever script you are using to pull col1 and col2 then use the script from NoConcatenate. Make sure you change the column names accordingly. If possible share your app you are working on to look into?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2018 20:46:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-build-one-table-merging-infos-from-two-columns/m-p/31358#M773269</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2018-05-14T20:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: How can I build one table merging infos from two columns?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-build-one-table-merging-infos-from-two-columns/m-p/31359#M773270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK. I will try. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2018 20:53:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-build-one-table-merging-infos-from-two-columns/m-p/31359#M773270</guid>
      <dc:creator>mlarruda</dc:creator>
      <dc:date>2018-05-14T20:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: How can I build one table merging infos from two columns?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-build-one-table-merging-infos-from-two-columns/m-p/31360#M773271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a subfield in the script like this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a:&lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp; Column1,Column2, SubField(Column1&amp;amp;'_'&amp;amp;'Column1'&amp;amp;'-'&amp;amp;Column2&amp;amp;'_'&amp;amp;'Column2','-') as Key INLINE [&lt;/P&gt;&lt;P&gt;Column1,Column2&lt;/P&gt;&lt;P&gt;John, Mary &lt;/P&gt;&lt;P&gt;Fred, Paul &lt;/P&gt;&lt;P&gt;John, Paul &lt;/P&gt;&lt;P&gt;Fred, Mary &lt;/P&gt;&lt;P&gt;Mary ,Paul &lt;/P&gt;&lt;P&gt;John, Fred &lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the chart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimnesion :&amp;nbsp; left(Key,findoneof(Key,'_')-1)&lt;BR /&gt;Exp1: count({&amp;lt;Key={"*Column1*"}&amp;gt;}Key)&lt;/P&gt;&lt;P&gt;Exp2: count({&amp;lt;Key={"*Column2*"}&amp;gt;}Key)&lt;/P&gt;&lt;P&gt;Total :&amp;nbsp; Column(1)+ Column(2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/202377_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2018 06:07:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-build-one-table-merging-infos-from-two-columns/m-p/31360#M773271</guid>
      <dc:creator>qliksus</dc:creator>
      <dc:date>2018-05-15T06:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: How can I build one table merging infos from two columns?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-build-one-table-merging-infos-from-two-columns/m-p/31361#M773272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I finally could try this and it worked fine! Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But there is still two few questions I hope anyone can answer:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) I have another column called MatchID and, since I collect these data from many sources, some rows are repeated and I wanted to disconsider them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In "normal" tables I use, for example,COLUMN1 as Dimension and COUNT(DISTINCT(MatchID)) as Expression but I don't know how to do something similar in this new table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) I want to know also the percentage of matches each player was in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In "normal" tables I simply add an Expression =Count(DISTINCT(MatchID))/Count(Total DISTINCT(MatchID)) but I don't know how to do something similar in this new table.&lt;/P&gt;&lt;P&gt;(I need this percentage only for the Total column)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any friend can help me to finish this table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2018 16:00:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-build-one-table-merging-infos-from-two-columns/m-p/31361#M773272</guid>
      <dc:creator>mlarruda</dc:creator>
      <dc:date>2018-05-21T16:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: How can I build one table merging infos from two columns?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-build-one-table-merging-infos-from-two-columns/m-p/31362#M773273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share the file you worked until?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2018 16:14:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-build-one-table-merging-infos-from-two-columns/m-p/31362#M773273</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2018-05-21T16:14:25Z</dc:date>
    </item>
    <item>
      <title>Re: How can I build one table merging infos from two columns?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-build-one-table-merging-infos-from-two-columns/m-p/31363#M773274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Consider this data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="184" style="border: 1px solid #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; width: 525px;"&gt;&lt;THEAD style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TH class="header" style="border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center; background-position: no-repeat; color: #ffffff; background-color: #6690bc;" valign="middle"&gt;Column1&lt;/TH&gt;&lt;TH class="header" style="border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center; background-position: no-repeat; color: #ffffff; background-color: #6690bc;" valign="middle"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Column2&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH class="header" style="border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center; background-position: no-repeat; color: #ffffff; background-color: #6690bc;" valign="middle"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Match ID&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center;"&gt;John&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center;"&gt;Mary&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center;"&gt;Fred&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center;"&gt;Paul&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center;"&gt;John&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center;"&gt;Paul&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center;"&gt;Fred&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center;"&gt;Mary&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center;"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center;"&gt;John&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center;"&gt;Mary&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center;"&gt;Fred&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center;"&gt;Paul&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center;"&gt;Mary&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center;"&gt;Paul&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center;"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center;"&gt;John&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center;"&gt;Fred&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center;"&gt;6&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;And this script:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;LOAD Column1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Column2,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MatchID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SubField(Column1&amp;amp;'_'&amp;amp;'COLUMN1'&amp;amp;'-'&amp;amp;Column2&amp;amp;'_'&amp;amp;'COLUMN2','-') as COLUMNS&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[MySourceFile.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is [Sheet1]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD MatchID,&lt;/P&gt;&lt;P&gt;Resident Tab1&lt;/P&gt;&lt;P&gt;Group by MatchID;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;This is the table I want to get:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="127" style="border: 1px solid rgb(0, 0, 0); font-size: 13px; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; color: rgb(61, 61, 61); width: 441px;"&gt;&lt;THEAD style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TH class="header" style="border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center; background-position: no-repeat; color: #ffffff; background-color: #6690bc;" valign="middle"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Name&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH class="header" style="border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center; background-position: no-repeat; color: #ffffff; background-color: #6690bc;" valign="middle"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Column1&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH class="header" style="border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center; background-position: no-repeat; color: #ffffff; background-color: #6690bc;" valign="middle"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Column2&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH class="header" style="border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center; background-position: no-repeat; color: #ffffff; background-color: #6690bc;" valign="middle"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Sum&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH class="header" style="border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center; background-position: no-repeat; color: #ffffff; background-color: #6690bc;" valign="middle"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Pct&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center;"&gt;John&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center;"&gt;3&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center;"&gt;0&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center;"&gt;3&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center;"&gt;50%&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center;"&gt;Mary&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center;"&gt;1&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center;"&gt;2&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center;"&gt;3&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center;"&gt;50%&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center;"&gt;Paul&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center;"&gt;0&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center;"&gt;3&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center;"&gt;3&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center;"&gt;50%&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center;"&gt;Fred&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center;"&gt;2&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center;"&gt;1&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center;"&gt;3&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center;"&gt;50%&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;To avoid any doubts: I want that the table count only once each MatchID; So, all pcts mst be 50%, because there are 6 matches (6 MatchIDs) and each players appears in 3 of them.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Many thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2018 16:57:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-build-one-table-merging-infos-from-two-columns/m-p/31363#M773274</guid>
      <dc:creator>mlarruda</dc:creator>
      <dc:date>2018-05-21T16:57:22Z</dc:date>
    </item>
  </channel>
</rss>

