<?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 How do I add a new column in tableviewer after crosstable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-do-I-add-a-new-column-in-tableviewer-after-crosstable/m-p/994918#M955796</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Somewhat new to Qlikview and I've run into a question which I'm sure has a simple answer, but I can't quite figure it out.&amp;nbsp; In the attached spreadsheet (my raw data) I have three tabs:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;first tab shows data in the form in which it is being delivered to me (this will be refreshed periodically)&lt;/LI&gt;&lt;LI&gt;second tab shows how the data is organized in my tableviewer after using the crosstable function&lt;/LI&gt;&lt;LI&gt;third tab shows how I'd like to ultimately show the data in my tableviewer, using Qlikview functions&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ORIGINAL DATA&lt;/P&gt;&lt;P&gt;&lt;IMG alt="qv1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/105484_qv1.JPG" style="height: 203px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ORGANIZATION AFTER CROSSTABLE (rows E-I transposed into "measurement" and "value" columns):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="qv3.JPG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/105488_qv3.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next step/question: which functions can I use to 1) create a column for the color, 2) pull the color from column F, and 3) clean-up column F to show only the measurement type?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="qv2.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/105485_qv2.JPG" style="height: 307px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This newbie greatly appreciates your feedback.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Nov 2015 18:55:22 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-11-13T18:55:22Z</dc:date>
    <item>
      <title>How do I add a new column in tableviewer after crosstable</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-add-a-new-column-in-tableviewer-after-crosstable/m-p/994918#M955796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Somewhat new to Qlikview and I've run into a question which I'm sure has a simple answer, but I can't quite figure it out.&amp;nbsp; In the attached spreadsheet (my raw data) I have three tabs:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;first tab shows data in the form in which it is being delivered to me (this will be refreshed periodically)&lt;/LI&gt;&lt;LI&gt;second tab shows how the data is organized in my tableviewer after using the crosstable function&lt;/LI&gt;&lt;LI&gt;third tab shows how I'd like to ultimately show the data in my tableviewer, using Qlikview functions&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ORIGINAL DATA&lt;/P&gt;&lt;P&gt;&lt;IMG alt="qv1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/105484_qv1.JPG" style="height: 203px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ORGANIZATION AFTER CROSSTABLE (rows E-I transposed into "measurement" and "value" columns):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="qv3.JPG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/105488_qv3.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next step/question: which functions can I use to 1) create a column for the color, 2) pull the color from column F, and 3) clean-up column F to show only the measurement type?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="qv2.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/105485_qv2.JPG" style="height: 307px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This newbie greatly appreciates your feedback.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Nov 2015 18:55:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-add-a-new-column-in-tableviewer-after-crosstable/m-p/994918#M955796</guid>
      <dc:creator />
      <dc:date>2015-11-13T18:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: How do I add a new column in tableviewer after crosstable</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-add-a-new-column-in-tableviewer-after-crosstable/m-p/994919#M955797</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;&lt;STRONG&gt;Transportation:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CrossTable(MEASUREMENT, VALUE, 4)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD COUNTRY, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TRANSPORTATION, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UNIQUE_USERS, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DATA_MONTH, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BLUE_SAMPLESIZE, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BLUE_AVG, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RED_SAMPLESIZE, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RED_AVG&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[SampleFile-kimrca.xlsx]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(ooxml, embedded labels, table is [ORIGINAL DATA]);&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;LOAD COUNTRY, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TRANSPORTATION, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UNIQUE_USERS, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DATA_MONTH,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SubField(MEASUREMENT, '_', 1) as COLOR,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SubField(MEASUREMENT, '_', 2) as MEASUREMENT,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; VALUE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Transportation;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DROP Table Transportation;&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/105478_Capture.PNG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Nov 2015 20:00:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-add-a-new-column-in-tableviewer-after-crosstable/m-p/994919#M955797</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-11-13T20:00:46Z</dc:date>
    </item>
  </channel>
</rss>

