<?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: Update row value in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Update-row-value/m-p/1516434#M36958</link>
    <description>&lt;P&gt;Hi Gautam,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use multiple if condition statements to achieve the same.&lt;/P&gt;&lt;P&gt;For example, consider you have a Gender column in the data and would like to change 'M' to 'Male', 'F' to Female etc. You can run an if condition on the original column and search for values in it and perform operation if the value being searched for is found. You could save the result using alias keyword 'as' into a new column name or use the original column name to overwrite the original column values itself. Hope i made sense. Please find example script below which you can copy paste to QV.&lt;/P&gt;&lt;P&gt;TableName:&lt;/P&gt;&lt;P&gt;LOAD Employee, if(Gender='M','Male',if(Gender='F','Female','Not Filled')) as Gender;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;BR /&gt;Employee, Gender&lt;BR /&gt;A, M&lt;BR /&gt;B, F&lt;BR /&gt;C, M&lt;BR /&gt;D, F&lt;BR /&gt;E, F&lt;BR /&gt;F, NF&lt;BR /&gt;G, M&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 04 Dec 2018 18:25:19 GMT</pubDate>
    <dc:creator>SharathPanackal</dc:creator>
    <dc:date>2018-12-04T18:25:19Z</dc:date>
    <item>
      <title>Update row value</title>
      <link>https://community.qlik.com/t5/App-Development/Update-row-value/m-p/1516415#M36957</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I am beginner to Qlikview, I have requirement. I have loaded the Sales Data from ODBC the Table Name is [SALES], One field Salesmantype Derived with Case Statement When empddress as Salesmantype.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now my requirement is, from the same table [SALES] I have Sales man code(SLMCODE), I have to check SLMCODE='AAA' then I have to change the value of Salesmantype ='ZZZ' like that I have to check for 5 SLMCODE's. How to achieve, plz explain with same example.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate your response.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Gautam.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Dec 2018 17:27:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Update-row-value/m-p/1516415#M36957</guid>
      <dc:creator>Gautam</dc:creator>
      <dc:date>2018-12-04T17:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: Update row value</title>
      <link>https://community.qlik.com/t5/App-Development/Update-row-value/m-p/1516434#M36958</link>
      <description>&lt;P&gt;Hi Gautam,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use multiple if condition statements to achieve the same.&lt;/P&gt;&lt;P&gt;For example, consider you have a Gender column in the data and would like to change 'M' to 'Male', 'F' to Female etc. You can run an if condition on the original column and search for values in it and perform operation if the value being searched for is found. You could save the result using alias keyword 'as' into a new column name or use the original column name to overwrite the original column values itself. Hope i made sense. Please find example script below which you can copy paste to QV.&lt;/P&gt;&lt;P&gt;TableName:&lt;/P&gt;&lt;P&gt;LOAD Employee, if(Gender='M','Male',if(Gender='F','Female','Not Filled')) as Gender;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;BR /&gt;Employee, Gender&lt;BR /&gt;A, M&lt;BR /&gt;B, F&lt;BR /&gt;C, M&lt;BR /&gt;D, F&lt;BR /&gt;E, F&lt;BR /&gt;F, NF&lt;BR /&gt;G, M&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Dec 2018 18:25:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Update-row-value/m-p/1516434#M36958</guid>
      <dc:creator>SharathPanackal</dc:creator>
      <dc:date>2018-12-04T18:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: Update row value</title>
      <link>https://community.qlik.com/t5/App-Development/Update-row-value/m-p/1516437#M36959</link>
      <description>&lt;P&gt;As per your query i understand you want to change a column value based on a corresponding value in another column. Please find below an example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TableName:&lt;/P&gt;&lt;P&gt;LOAD SLMCODE, SALESMANTYPE, if(SLMCODE='AAA','Type1',if(SLMCODE='BBB','Type2',if(SLMCODE='CCC','Type3',if(SLMCODE='DDD','Type4',SALESMANTYPE)))) as SALESMANTYPE_NEW;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;BR /&gt;SLMCODE, SALESMANTYPE&lt;BR /&gt;AAA, T1&lt;BR /&gt;BBB, T2&lt;BR /&gt;CCC, T3&lt;BR /&gt;DDD, T4&lt;BR /&gt;AAA, T1&lt;BR /&gt;F, Type6&lt;BR /&gt;J, Type10&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The above code will give the below table as output.&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;SLMCODE&lt;/TD&gt;&lt;TD&gt;SALESMANTYPE&lt;/TD&gt;&lt;TD&gt;SALESMANTYPE_NEW&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;AAA&lt;/TD&gt;&lt;TD&gt;T1&lt;/TD&gt;&lt;TD&gt;Type1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;BBB&lt;/TD&gt;&lt;TD&gt;T2&lt;/TD&gt;&lt;TD&gt;Type2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;CCC&lt;/TD&gt;&lt;TD&gt;T3&lt;/TD&gt;&lt;TD&gt;Type3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;DDD&lt;/TD&gt;&lt;TD&gt;T4&lt;/TD&gt;&lt;TD&gt;Type4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;F&lt;/TD&gt;&lt;TD&gt;Type6&lt;/TD&gt;&lt;TD&gt;Type6&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;J&lt;/TD&gt;&lt;TD&gt;Type10&lt;/TD&gt;&lt;TD&gt;Type10&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please mark as helpful or answered&lt;/P&gt;</description>
      <pubDate>Tue, 04 Dec 2018 18:39:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Update-row-value/m-p/1516437#M36959</guid>
      <dc:creator>SharathPanackal</dc:creator>
      <dc:date>2018-12-04T18:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: Update row value</title>
      <link>https://community.qlik.com/t5/App-Development/Update-row-value/m-p/1516442#M36960</link>
      <description>&lt;P&gt;Hi Sharat,&lt;/P&gt;&lt;P&gt;Thanks for your reply, Here I have to change the Value based on Condition.&lt;/P&gt;&lt;P&gt;I have SALES table in that I have&lt;FONT color="#FF0000"&gt; Salesmantype .&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;[Sales]:&lt;BR /&gt;LOAD&lt;BR /&gt;*;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;SQL&lt;BR /&gt;SELECT s.[whsnum] as [Branch]&lt;BR /&gt;,[invdate] as [Invoice Date]&lt;BR /&gt;,[invnum] as [Invoice #]&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;,s.[slmcode] as [Salesman 1]&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;,Case when e.[empaddr2]='INS' then 'Inside'&lt;BR /&gt;when e.[empaddr2]='OUT' then 'Outside'&lt;BR /&gt;when e.[empaddr2]='CAB' then 'Cabinet'&lt;BR /&gt;When e.[empaddr2]='' then 'Undefined'&lt;BR /&gt;Else e.[empaddr2] End as &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;Salesmantype.&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;Now Requirement based on&amp;nbsp;&lt;SPAN&gt;s.[slmcode]&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;please change the SalesmanType on the following individuals to "Outside"? Currently they are listed as "Undefined".&lt;/P&gt;&lt;P&gt;Mitchell Kahn (MKAHN)&lt;BR /&gt;Terri Zerby (TZERB)&lt;BR /&gt;Kevin Niblett (KNIBL)&lt;BR /&gt;Edwin Ramos (ERAMO)&lt;BR /&gt;Mike Noble (MNOBL)&lt;/P&gt;&lt;P&gt;How to achieve.&lt;/P&gt;&lt;P&gt;Plz explain in Detail with example or modify this code .&lt;/P&gt;&lt;P&gt;Thanks In Advance.&lt;/P&gt;&lt;P&gt;Gautam&lt;/P&gt;</description>
      <pubDate>Tue, 04 Dec 2018 18:46:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Update-row-value/m-p/1516442#M36960</guid>
      <dc:creator>Gautam</dc:creator>
      <dc:date>2018-12-04T18:46:40Z</dc:date>
    </item>
    <item>
      <title>Re: Update row value</title>
      <link>https://community.qlik.com/t5/App-Development/Update-row-value/m-p/1516448#M36961</link>
      <description>&lt;P&gt;Hi Gautam,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;[Sales]:&lt;BR /&gt;LOAD&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Branch, [Invoice Date], [Invoice#], [Salesman 1],&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;if(&lt;SPAN&gt;[Salesman 1]&lt;/SPAN&gt;='&lt;SPAN&gt;Mitchell Kahn (MKAHN)','Outside',&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&amp;nbsp; if(&lt;SPAN&gt;[Salesman 1]&lt;/SPAN&gt;&lt;SPAN&gt;='Terri Zerby (TZERB)&lt;/SPAN&gt;&lt;SPAN&gt;','Outside',&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if([Salesman 1]='Kevin Niblett (KNIBL)','Outside',&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;if([Salesman 1]='Edwin Ramos (ERAMO)','Outside',&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if([Salesman 1]='Mike Noble (MNOBL)','Outside' )&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT color="#000000"&gt;)&lt;/FONT&gt;&lt;FONT color="#000000"&gt;) as Salesmantype&lt;/FONT&gt;&lt;FONT color="#000000"&gt;&lt;BR /&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;SQL&lt;BR /&gt;SELECT s.[whsnum] as [Branch]&lt;BR /&gt;,[invdate] as [Invoice Date]&lt;BR /&gt;,[invnum] as [Invoice #]&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;,s.[slmcode] as [Salesman 1]&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;,Case when e.[empaddr2]='INS' then 'Inside'&lt;BR /&gt;when e.[empaddr2]='OUT' then 'Outside'&lt;BR /&gt;when e.[empaddr2]='CAB' then 'Cabinet'&lt;BR /&gt;When e.[empaddr2]='' then 'Undefined'&lt;BR /&gt;Else e.[empaddr2] End as&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;Salesmantype.&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think the if conditions can be written in a much better manner, but still this should work fine. I havent changed the SQL query but added code to the preceding LOAD statement.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Dec 2018 19:03:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Update-row-value/m-p/1516448#M36961</guid>
      <dc:creator>SharathPanackal</dc:creator>
      <dc:date>2018-12-04T19:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: Update row value</title>
      <link>https://community.qlik.com/t5/App-Development/Update-row-value/m-p/1516461#M36962</link>
      <description>&lt;P&gt;Hi Sharat,&lt;/P&gt;&lt;P&gt;Thanks for your Quick Reply, I will try the code and let you know.&lt;/P&gt;&lt;P&gt;Can I use Load * instead of individual column name in&amp;nbsp; ADDED code by you &amp;amp; If should work.&lt;/P&gt;&lt;P&gt;I have many Column names.&lt;/P&gt;&lt;P&gt;*************?????&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;LOAD&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;*;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;if(&lt;SPAN&gt;[Salesman 1]&lt;/SPAN&gt;='&lt;SPAN&gt;Mitchell Kahn (MKAHN)','Outside',&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&amp;nbsp; if(&lt;SPAN&gt;[Salesman 1]&lt;/SPAN&gt;&lt;SPAN&gt;='Terri Zerby (TZERB)&lt;/SPAN&gt;&lt;SPAN&gt;','Outside',&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if([Salesman 1]='Kevin Niblett (KNIBL)','Outside',&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;if([Salesman 1]='Edwin Ramos (ERAMO)','Outside',&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if([Salesman 1]='Mike Noble (MNOBL)','Outside' )&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT color="#000000"&gt;)&lt;/FONT&gt;&lt;FONT color="#000000"&gt;) as Salesmantype&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;*******&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Dec 2018 19:42:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Update-row-value/m-p/1516461#M36962</guid>
      <dc:creator>Gautam</dc:creator>
      <dc:date>2018-12-04T19:42:42Z</dc:date>
    </item>
    <item>
      <title>Re: Update row value</title>
      <link>https://community.qlik.com/t5/App-Development/Update-row-value/m-p/1516488#M36963</link>
      <description>&lt;P&gt;Hi Gautam,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can do this :&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;LOAD&amp;nbsp;&lt;/FONT&gt;&lt;FONT color="#000000"&gt;* ,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;if(&lt;SPAN&gt;[Salesman 1]&lt;/SPAN&gt;='&lt;SPAN&gt;Mitchell Kahn (MKAHN)','Outside',&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&amp;nbsp; if(&lt;SPAN&gt;[Salesman 1]&lt;/SPAN&gt;&lt;SPAN&gt;='Terri Zerby (TZERB)&lt;/SPAN&gt;&lt;SPAN&gt;','Outside',&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if([Salesman 1]='Kevin Niblett (KNIBL)','Outside',&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;if([Salesman 1]='Edwin Ramos (ERAMO)','Outside',&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if([Salesman 1]='Mike Noble (MNOBL)','Outside' )&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT color="#000000"&gt;)&lt;/FONT&gt;&lt;FONT color="#000000"&gt;) as Salesmantype_New;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;You can drop the original field after this load and use rename keyword later to change the name of the field ' &lt;SPAN&gt;Salesmantype_New&lt;/SPAN&gt;' to '&lt;SPAN&gt;Salesmantype&lt;/SPAN&gt;'if you like.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Dec 2018 21:16:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Update-row-value/m-p/1516488#M36963</guid>
      <dc:creator>SharathPanackal</dc:creator>
      <dc:date>2018-12-04T21:16:15Z</dc:date>
    </item>
    <item>
      <title>Re: Update row value</title>
      <link>https://community.qlik.com/t5/App-Development/Update-row-value/m-p/1516810#M36964</link>
      <description>Hi Sharat,&lt;BR /&gt;Thanks for the code and it worked 95%, When I use Rename Keyword to rename salesmantype_new to Salesmantype I am getting error as "Field already existed", when I use alias, shows as different dimension and data not Overwrite of Salesmantype with Salesmantype_new for those conditional SLMCODE.&lt;BR /&gt;Plz share your thoughts.&lt;BR /&gt;Thanks In Advance.&lt;BR /&gt;</description>
      <pubDate>Wed, 05 Dec 2018 13:54:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Update-row-value/m-p/1516810#M36964</guid>
      <dc:creator>Gautam</dc:creator>
      <dc:date>2018-12-05T13:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: Update row value</title>
      <link>https://community.qlik.com/t5/App-Development/Update-row-value/m-p/1516818#M36965</link>
      <description>&lt;P&gt;Hi Gautam,&lt;/P&gt;&lt;P&gt;I am sorry i missed adding the final else part inside the if condition&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;[Sales]:&lt;BR /&gt;LOAD *,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;if(&lt;SPAN&gt;[Salesman 1]&lt;/SPAN&gt;='&lt;SPAN&gt;Mitchell Kahn (MKAHN)','Outside',&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&amp;nbsp; if(&lt;SPAN&gt;[Salesman 1]&lt;/SPAN&gt;&lt;SPAN&gt;='Terri Zerby (TZERB)&lt;/SPAN&gt;&lt;SPAN&gt;','Outside',&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if([Salesman 1]='Kevin Niblett (KNIBL)','Outside',&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;if([Salesman 1]='Edwin Ramos (ERAMO)','Outside',&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if([Salesman 1]='Mike Noble (MNOBL)','Outside' ,&lt;STRONG&gt;Salesmantype_old&lt;/STRONG&gt;)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;FONT color="#000000"&gt;)&lt;/FONT&gt;&lt;FONT color="#000000"&gt;) as Salesmantype&lt;/FONT&gt;&lt;FONT color="#000000"&gt;&lt;BR /&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;SQL&lt;BR /&gt;SELECT s.[whsnum] as [Branch]&lt;BR /&gt;,[invdate] as [Invoice Date]&lt;BR /&gt;,[invnum] as [Invoice #]&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;,s.[slmcode] as [Salesman 1]&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;,Case when e.[empaddr2]='INS' then 'Inside'&lt;BR /&gt;when e.[empaddr2]='OUT' then 'Outside'&lt;BR /&gt;when e.[empaddr2]='CAB' then 'Cabinet'&lt;BR /&gt;When e.[empaddr2]='' then 'Undefined'&lt;BR /&gt;Else e.[empaddr2] End as&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;Salesmantype_old.&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;drop field&amp;nbsp;Salesmantype_old;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;Please click on Accept as solution if i was able to solve your issue.&amp;nbsp;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sharath Panackal&lt;/P&gt;</description>
      <pubDate>Wed, 05 Dec 2018 14:07:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Update-row-value/m-p/1516818#M36965</guid>
      <dc:creator>SharathPanackal</dc:creator>
      <dc:date>2018-12-05T14:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: Update row value</title>
      <link>https://community.qlik.com/t5/App-Development/Update-row-value/m-p/1516831#M36966</link>
      <description>Hi Sharat,&lt;BR /&gt;Salesmantype used across many sheets in the report and in Cycler, If I drop then I have to include Salesmantype_new field. I want to retain Salesmantype with over for those conditional SLMCODE and drop salesmantype_new.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 05 Dec 2018 14:22:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Update-row-value/m-p/1516831#M36966</guid>
      <dc:creator>Gautam</dc:creator>
      <dc:date>2018-12-05T14:22:01Z</dc:date>
    </item>
    <item>
      <title>Re: Update row value</title>
      <link>https://community.qlik.com/t5/App-Development/Update-row-value/m-p/1516849#M36967</link>
      <description>&lt;P&gt;Hi Gautam,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;In my solution i have aliased the field&amp;nbsp;e.[empaddr2]&amp;nbsp; to&amp;nbsp;&lt;STRONG&gt;Salesmantype_old&lt;/STRONG&gt;. I have then performed extra transformation to the field&amp;nbsp;&lt;STRONG&gt;Salesmantype_old&lt;/STRONG&gt; inside the preceding LOAD and renamed it back to&amp;nbsp;&lt;STRONG&gt;Salesmantype&lt;/STRONG&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The last drop statement was just to remove the field&amp;nbsp;&lt;STRONG&gt;Salesmantype_old&lt;/STRONG&gt;. You will still have field&amp;nbsp;&lt;STRONG&gt;Salesmantype&lt;/STRONG&gt; at the end.&lt;/P&gt;&lt;P&gt;If you are confused, you can even remove the drop statement for field&amp;nbsp;&lt;STRONG&gt;Salesmantype_old&lt;/STRONG&gt; and it should still work.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sharath Panackal&lt;/P&gt;</description>
      <pubDate>Wed, 05 Dec 2018 14:33:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Update-row-value/m-p/1516849#M36967</guid>
      <dc:creator>SharathPanackal</dc:creator>
      <dc:date>2018-12-05T14:33:07Z</dc:date>
    </item>
  </channel>
</rss>

