<?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: Using 2 columns of data to create another column depending on criteria in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-2-columns-of-data-to-create-another-column-depending-on/m-p/117008#M752701</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please don't create multiple threads for the same question:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/317266"&gt;Bringing 2 columns of numbers into a new column depending on criteria&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Oct 2018 19:37:01 GMT</pubDate>
    <dc:creator>MarcoWedel</dc:creator>
    <dc:date>2018-10-18T19:37:01Z</dc:date>
    <item>
      <title>Using 2 columns of data to create another column depending on criteria</title>
      <link>https://community.qlik.com/t5/QlikView/Using-2-columns-of-data-to-create-another-column-depending-on/m-p/117006#M752699</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;New to Qlik and stuck on some coding for something I would like to create:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 2 columns of numbers I would like to use for a new column depending on the status in another column:&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;Status&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;A&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;B&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;New Column&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Delivered&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;10&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;20&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;20&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Closed&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;10&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;20&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;20&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;In-Progress&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;20&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;20&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Reserved&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;20&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;20&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example the top two rows I would like to take column B numbers into my new column and the bottom 2 rows from column A.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help with this coding?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ben&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/Using-2-columns-of-data-to-create-another-column-depending-on/m-p/117006#M752699</guid>
      <dc:creator>beneldridge</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Using 2 columns of data to create another column depending on criteria</title>
      <link>https://community.qlik.com/t5/QlikView/Using-2-columns-of-data-to-create-another-column-depending-on/m-p/117007#M752700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ben,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If (recno()&amp;lt;=2, B, A) as "New Column"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2018 17:38:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-2-columns-of-data-to-create-another-column-depending-on/m-p/117007#M752700</guid>
      <dc:creator>vkish16161</dc:creator>
      <dc:date>2018-10-18T17:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: Using 2 columns of data to create another column depending on criteria</title>
      <link>https://community.qlik.com/t5/QlikView/Using-2-columns-of-data-to-create-another-column-depending-on/m-p/117008#M752701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please don't create multiple threads for the same question:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/317266"&gt;Bringing 2 columns of numbers into a new column depending on criteria&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2018 19:37:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-2-columns-of-data-to-create-another-column-depending-on/m-p/117008#M752701</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2018-10-18T19:37:01Z</dc:date>
    </item>
  </channel>
</rss>

