<?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 Inserting Columns in a table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Inserting-Columns-in-a-table/m-p/1395648#M459706</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have pulled some data via an Oracle Database through an OLEDB connection, and would like to know if it is possible to insert a new column of data into the existing table which makes use of an expression of the initial extracted data. An example is as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&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;ID&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;Country&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Last Connection&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Last Connection (New Column)&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;ID1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Country1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;12:28:33 14/8/17&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Less than 3 days&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;ID2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Country1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1:10:22 9/8/17&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;3 - 7 days&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;ID3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Country2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;9:34:11 4/7/17&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;More than 7 days&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am now currently able to group the data by Countries as the first three rows of data was pulled together via the OLEDB connection, but I am having trouble inserting a new column, as I would like to be able to display the data in terms of a chart, to show the number of days since last connection by country (showing the classification of days, instead of the exact time of the connection).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried inserting a List Box, with an expression in it to calculate the values, but it is unable to be put into the Quick Chart Wizard as it is not seen as a field. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help for this would be much appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Aug 2017 02:15:10 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-08-14T02:15:10Z</dc:date>
    <item>
      <title>Inserting Columns in a table</title>
      <link>https://community.qlik.com/t5/QlikView/Inserting-Columns-in-a-table/m-p/1395648#M459706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have pulled some data via an Oracle Database through an OLEDB connection, and would like to know if it is possible to insert a new column of data into the existing table which makes use of an expression of the initial extracted data. An example is as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&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;ID&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;Country&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Last Connection&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Last Connection (New Column)&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;ID1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Country1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;12:28:33 14/8/17&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Less than 3 days&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;ID2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Country1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1:10:22 9/8/17&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;3 - 7 days&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;ID3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Country2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;9:34:11 4/7/17&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;More than 7 days&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am now currently able to group the data by Countries as the first three rows of data was pulled together via the OLEDB connection, but I am having trouble inserting a new column, as I would like to be able to display the data in terms of a chart, to show the number of days since last connection by country (showing the classification of days, instead of the exact time of the connection).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried inserting a List Box, with an expression in it to calculate the values, but it is unable to be put into the Quick Chart Wizard as it is not seen as a field. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help for this would be much appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Aug 2017 02:15:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inserting-Columns-in-a-table/m-p/1395648#M459706</guid>
      <dc:creator />
      <dc:date>2017-08-14T02:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: Inserting Columns in a table</title>
      <link>https://community.qlik.com/t5/QlikView/Inserting-Columns-in-a-table/m-p/1395649#M459707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Same Question?&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/1324773"&gt;Data from OLEDB Connection - Adding Columns&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Aug 2017 08:12:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inserting-Columns-in-a-table/m-p/1395649#M459707</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-08-14T08:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: Inserting Columns in a table</title>
      <link>https://community.qlik.com/t5/QlikView/Inserting-Columns-in-a-table/m-p/1395650#M459708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find Below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit; color: #0000ff;"&gt;Today&lt;/SPAN&gt;()-&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit; color: #0000ff;"&gt;Floor&lt;/SPAN&gt;(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit; color: #0000ff;"&gt;Date&lt;/SPAN&gt;(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit; color: #0000ff;"&gt;Date#&lt;/SPAN&gt;(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit; color: #800000;"&gt;[Last Connection]&lt;/SPAN&gt;,'hh:mm:ss DD/MM/YYYY'))) &amp;lt; 3,'Less than 3 days',&lt;BR /&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit; color: #0000ff;"&gt;If&lt;/SPAN&gt;(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit; color: #0000ff;"&gt;Today&lt;/SPAN&gt;()-&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit; color: #0000ff;"&gt;Floor&lt;/SPAN&gt;(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit; color: #0000ff;"&gt;Date&lt;/SPAN&gt;(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit; color: #0000ff;"&gt;Date#&lt;/SPAN&gt;(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit; color: #800000;"&gt;[Last Connection]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;,'hh:mm:ss DD/MM/YYYY'))) &amp;gt; 7,'More than 7 days',&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;'3 - 7 days'))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10pt; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10pt; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10pt; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;Arvind Patil&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10pt; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Aug 2017 09:07:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inserting-Columns-in-a-table/m-p/1395650#M459708</guid>
      <dc:creator>arvind_patil</dc:creator>
      <dc:date>2017-08-14T09:07:35Z</dc:date>
    </item>
    <item>
      <title>Re: Inserting Columns in a table</title>
      <link>https://community.qlik.com/t5/QlikView/Inserting-Columns-in-a-table/m-p/1395651#M459709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why don't you add the column in the LOAD script instead of expression?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Aug 2017 10:25:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inserting-Columns-in-a-table/m-p/1395651#M459709</guid>
      <dc:creator>sonkumamon</dc:creator>
      <dc:date>2017-08-14T10:25:11Z</dc:date>
    </item>
  </channel>
</rss>

