<?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: creating a new column using existing column in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/creating-a-new-column-using-existing-column/m-p/1307199#M614586</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;Can you please share some sample data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Jul 2017 18:02:57 GMT</pubDate>
    <dc:creator>krishnacbe</dc:creator>
    <dc:date>2017-07-13T18:02:57Z</dc:date>
    <item>
      <title>creating a new column using existing column</title>
      <link>https://community.qlik.com/t5/QlikView/creating-a-new-column-using-existing-column/m-p/1307198#M614585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having little bit of a difficulty trying to create a new column using if statement on an existing column&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am doing &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(NRTT_Plan='NEW,'RENEW','TRANSFER IN', 1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(NRTT_Plan='NEW,'TRANSFER IN',2,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(NRTT_Plan='TERM',3,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(NRTT_Plan='TERM' AND Member_Age='0.26', 4))) as Status_Flag,&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but this does not work. i tired putting them in parenthesis but only&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;IF(NRTT_Plan='TERM',3, is loaded into table and nothing else.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;What am i doing wrong here. Please help me.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thank you,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Syed.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jul 2017 17:50:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/creating-a-new-column-using-existing-column/m-p/1307198#M614585</guid>
      <dc:creator />
      <dc:date>2017-07-13T17:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: creating a new column using existing column</title>
      <link>https://community.qlik.com/t5/QlikView/creating-a-new-column-using-existing-column/m-p/1307199#M614586</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;Can you please share some sample data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jul 2017 18:02:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/creating-a-new-column-using-existing-column/m-p/1307199#M614586</guid>
      <dc:creator>krishnacbe</dc:creator>
      <dc:date>2017-07-13T18:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: creating a new column using existing column</title>
      <link>https://community.qlik.com/t5/QlikView/creating-a-new-column-using-existing-column/m-p/1307200#M614587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this may be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; IF(Match(NRTT_Plan, 'NEW,'RENEW','TRANSFER IN'), 1,&lt;/P&gt;&lt;P&gt;&amp;nbsp; IF(Match(NRTT_Plan, 'TERM'), 2,&lt;/P&gt;&lt;P&gt;&amp;nbsp; IF(Match(NRTT_Plan, 'TERM') AND Member_Age='0.26', 4))) as Status_Flag,&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jul 2017 18:04:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/creating-a-new-column-using-existing-column/m-p/1307200#M614587</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-07-13T18:04:48Z</dc:date>
    </item>
    <item>
      <title>Re: creating a new column using existing column</title>
      <link>https://community.qlik.com/t5/QlikView/creating-a-new-column-using-existing-column/m-p/1307201#M614588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;If(match(NRTT_Plan,'RENEW',1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(match(NRTT_Plan,'TRANSFER IN'),2,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(match(NRTT_Plan,'TERM') AND Member_Age='0.26',4,3))) as Status_Flg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jul 2017 18:08:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/creating-a-new-column-using-existing-column/m-p/1307201#M614588</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-13T18:08:28Z</dc:date>
    </item>
    <item>
      <title>Re: creating a new column using existing column</title>
      <link>https://community.qlik.com/t5/QlikView/creating-a-new-column-using-existing-column/m-p/1307202#M614589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you don't move the TERM and Member Age logic above the regular TERM logic you will never get any number 4 statuses.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jul 2017 18:09:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/creating-a-new-column-using-existing-column/m-p/1307202#M614589</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-13T18:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: creating a new column using existing column</title>
      <link>https://community.qlik.com/t5/QlikView/creating-a-new-column-using-existing-column/m-p/1307203#M614590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Syed,&lt;/P&gt;&lt;P&gt;Are you trying to put these into one and only one slot 1 - 4?&amp;nbsp; Because you have duplication.&lt;/P&gt;&lt;P&gt;In NRTT_Plan can there be only one of the values or multiple.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could do it either of these ways, however you will get the same records meeting conditions 1 &amp;amp; 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(NRTT_Plan='NEW' or NRTT_Plan ='RENEW' or NRTT_Plan ='TRANSFER IN', 1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(NRTT_Plan='NEW' or NRTT_Plan ='TRANSFER IN',2,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(NRTT_Plan='TERM' AND Member_Age='0.26', 4,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(NRTT_Plan='TERM',3 )))) as Status_Flag &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(Match(NRTT_Plan,'NEW,'RENEW','TRANSFER IN')&amp;gt;0, 1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(Match(NRTT_Plan,'NEW,'TRANSFER IN')&amp;gt;0, 2,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(NRTT_Plan='TERM' AND Member_Age='0.26', 4,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(NRTT_Plan='TERM',3 )))) as Status_Flag&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only difference between your first condition and second seems to be that #1 has 'RENEW' in it&lt;/P&gt;&lt;P&gt;Without knowing your intention - it is hard to give you direction.&amp;nbsp; Its possible that you want the same record to appear with a value 1 and 2.&amp;nbsp; Only you know that answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You did need another right paren on your IF statement -- you had 4 conditions so you needed 4 right parens ')' at the end.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jul 2017 20:22:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/creating-a-new-column-using-existing-column/m-p/1307203#M614590</guid>
      <dc:creator>mjtaft2017</dc:creator>
      <dc:date>2017-07-13T20:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: creating a new column using existing column</title>
      <link>https://community.qlik.com/t5/QlikView/creating-a-new-column-using-existing-column/m-p/1307204#M614591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please post some sample values and your expected result as well.&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, 13 Jul 2017 22:56:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/creating-a-new-column-using-existing-column/m-p/1307204#M614591</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2017-07-13T22:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: creating a new column using existing column</title>
      <link>https://community.qlik.com/t5/QlikView/creating-a-new-column-using-existing-column/m-p/1307205#M614593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this four flags are for &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1= active&lt;/P&gt;&lt;P&gt;2=new&lt;/P&gt;&lt;P&gt;3=Termed&lt;/P&gt;&lt;P&gt;4= termed at the age of 26&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1 which is "Active' can be New members, renewed members and Transfer in&lt;/P&gt;&lt;P&gt;2 which is 'New' can be members that just signed up and are new to the plan. so they can only be New or Tranfer in as renwed members are already established and cannot be considered new.&lt;/P&gt;&lt;P&gt;3 is termed&amp;nbsp; and 4 is Termed at age 26.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so yes, #2 will be same as #1 - Renewed members&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i followed the steps that Wallo Atkinson suggested but the new field is not generated in the resulting column. Will try your method and see if it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Syed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jul 2017 16:08:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/creating-a-new-column-using-existing-column/m-p/1307205#M614593</guid>
      <dc:creator />
      <dc:date>2017-07-14T16:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: creating a new column using existing column</title>
      <link>https://community.qlik.com/t5/QlikView/creating-a-new-column-using-existing-column/m-p/1307206#M614594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i tried your&amp;nbsp; both approaches but non were able to load filed 'New' for me.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jul 2017 16:23:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/creating-a-new-column-using-existing-column/m-p/1307206#M614594</guid>
      <dc:creator />
      <dc:date>2017-07-14T16:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: creating a new column using existing column</title>
      <link>https://community.qlik.com/t5/QlikView/creating-a-new-column-using-existing-column/m-p/1307207#M614596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please find the sample data in the attachment. I need four groups but no matter how i try it, the resultant column has only 3. I am not able to load field 'New' in it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jul 2017 16:28:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/creating-a-new-column-using-existing-column/m-p/1307207#M614596</guid>
      <dc:creator />
      <dc:date>2017-07-14T16:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: creating a new column using existing column</title>
      <link>https://community.qlik.com/t5/QlikView/creating-a-new-column-using-existing-column/m-p/1307208#M614598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this? Change the path accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;LOAD Age, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Member #], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NRTT_Plan, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Payment,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(NRTT_Plan='NEW' or NRTT_Plan ='TRANSFER IN',2,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(NRTT_Plan='NEW' or NRTT_Plan ='RENEW' or NRTT_Plan ='TRANSFER IN', 1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(NRTT_Plan='TERM' AND Age='26', 4,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(NRTT_Plan='TERM',3 )))) as Status_Flag&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[..\Desktop\RoughForum_Files\Sample_Data.xls]&lt;/P&gt;&lt;P&gt;(biff, embedded labels, table is Sheet1$);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jul 2017 16:35:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/creating-a-new-column-using-existing-column/m-p/1307208#M614598</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-07-14T16:35:51Z</dc:date>
    </item>
    <item>
      <title>Re: creating a new column using existing column</title>
      <link>https://community.qlik.com/t5/QlikView/creating-a-new-column-using-existing-column/m-p/1307209#M614599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's because everything that WOULD be in Status 2 falls into status 1 first.&lt;/P&gt;&lt;P&gt;You have some redundancy.&amp;nbsp; You can't have a record be status 1 and 2 simultaneously.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which would take precedence active or new?&amp;nbsp; Can a record be New but not Active?&lt;/P&gt;&lt;P&gt;Wild guess, but maybe you really want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD NRTT_Plan, &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(NRTT_Plan='NEW' or NRTT_Plan ='TRANSFER IN',2,&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF( NRTT_Plan ='RENEW' , 1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(NRTT_Plan='TERM' AND Age='26', 4,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(NRTT_Plan='TERM',3 )))) as Status_Flag,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Member #], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Payment, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Age&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jul 2017 16:40:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/creating-a-new-column-using-existing-column/m-p/1307209#M614599</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-14T16:40:29Z</dc:date>
    </item>
    <item>
      <title>Re: creating a new column using existing column</title>
      <link>https://community.qlik.com/t5/QlikView/creating-a-new-column-using-existing-column/m-p/1307210#M614601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If using Match - that is case sensitive so your case has to match also.&amp;nbsp; 'NEW' is not the same as 'New' or 'new'.&amp;nbsp; If you want case insensitive then use Mixmatch.&amp;nbsp; Let me check my answer now that you have posted more information.&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&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;1 which is "Active' can be New members, renewed members and Transfer in&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;2 which is 'New' can be members that just signed up and are new to the plan. so they can only be New or Transfer in as renewed members are already established and cannot be considered new.&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;Ok so you will need an additional condition for #2 which says they cannot be 'RENEW'&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;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; IF((NRTT_Plan&amp;lt;&amp;gt;'RENEW' AND (&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;NRTT_Plan= &lt;/SPAN&gt;'NEW' or NRTT_Plan ='TRANSFER IN')),2,&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jul 2017 16:55:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/creating-a-new-column-using-existing-column/m-p/1307210#M614601</guid>
      <dc:creator>mjtaft2017</dc:creator>
      <dc:date>2017-07-14T16:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: creating a new column using existing column</title>
      <link>https://community.qlik.com/t5/QlikView/creating-a-new-column-using-existing-column/m-p/1307211#M614602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;according to your sample - a member can only have one status flag.&lt;/P&gt;&lt;P&gt;You have to determine which takes precedence -- do you want to assign ACTIVE or NEW for those that meet more than one &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try my reply from above and put that before the line you currently have for the ACTIVE members.&amp;nbsp; That would slot your RENEWS as #1 .... like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;IF((NRTT_Plan&amp;lt;&amp;gt;'RENEW' and (&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;NRTT_Plan= &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;'NEW' or NRTT_Plan ='TRANSFER IN')),2,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;nbsp; IF(NRTT_Plan='NEW' or NRTT_Plan ='RENEW' or NRTT_Plan ='TRANSFER IN', 1,&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jul 2017 17:19:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/creating-a-new-column-using-existing-column/m-p/1307211#M614602</guid>
      <dc:creator>mjtaft2017</dc:creator>
      <dc:date>2017-07-14T17:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: creating a new column using existing column</title>
      <link>https://community.qlik.com/t5/QlikView/creating-a-new-column-using-existing-column/m-p/1307212#M614604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree with your solution if a person can only have 1 plan.&amp;nbsp; If a single member can have multiple plans - then I think the premise needs to be reworked.&amp;nbsp; According to the sample data - it would appear a member has only 1 plan, but perhaps the sample does not tell the whole story &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jul 2017 17:25:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/creating-a-new-column-using-existing-column/m-p/1307212#M614604</guid>
      <dc:creator>mjtaft2017</dc:creator>
      <dc:date>2017-07-14T17:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: creating a new column using existing column</title>
      <link>https://community.qlik.com/t5/QlikView/creating-a-new-column-using-existing-column/m-p/1307213#M614605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Agreed.&lt;/P&gt;&lt;P&gt;If a person needs to be counted in more than 1 then it probably should be done in Set Analysis on the frontend.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise the Status Flag should be put in a separate table in the data model with a 1 to many join in the data model.&lt;/P&gt;&lt;P&gt;So each record can have more than 1 status.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jul 2017 17:31:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/creating-a-new-column-using-existing-column/m-p/1307213#M614605</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-14T17:31:41Z</dc:date>
    </item>
    <item>
      <title>Re: creating a new column using existing column</title>
      <link>https://community.qlik.com/t5/QlikView/creating-a-new-column-using-existing-column/m-p/1307214#M614606</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 guess your separate status_flag table is the best solution in this case.&lt;/P&gt;&lt;P&gt;One possible implementation could be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_267633_Pic1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/170304_QlikCommunity_Thread_267633_Pic1.JPG" style="background-image: none; background-position: 0px 0px; background-size: initial; background-repeat: repeat; background-attachment: scroll; background-origin: initial; background-clip: initial; color: rgba(0, 0, 0, 0); font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px; white-space: nowrap; height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_267633_Pic2.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/170305_QlikCommunity_Thread_267633_Pic2.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_1500073306832509" jivemacro_uid="_1500073306832509"&gt;
&lt;P&gt;table1:&lt;/P&gt;
&lt;P&gt;LOAD AutoNumberHash128(NRTT_Plan,Age) as %StatusKey,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; NRTT_Plan,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Member #],&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Payment,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Age&lt;/P&gt;
&lt;P&gt;FROM &lt;D&gt; (biff, embedded labels, table is Sheet1$);&lt;/D&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;tabStatus:&lt;/P&gt;
&lt;P&gt;CrossTable (temp, Status_Flag)&lt;/P&gt;
&lt;P&gt;LOAD Distinct&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; %StatusKey,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(NRTT_Plan='NEW' or NRTT_Plan ='TRANSFER IN',2),&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(NRTT_Plan='NEW' or NRTT_Plan ='RENEW' or NRTT_Plan ='TRANSFER IN', 1),&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(NRTT_Plan='TERM' AND Age='26', 4),&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(NRTT_Plan='TERM',3 )&lt;/P&gt;
&lt;P&gt;Resident table1;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;DROP Field temp;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&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>Fri, 14 Jul 2017 23:03:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/creating-a-new-column-using-existing-column/m-p/1307214#M614606</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2017-07-14T23:03:19Z</dc:date>
    </item>
  </channel>
</rss>

