<?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 change data in a load in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/change-data-in-a-load/m-p/461547#M172356</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I´ve got a field&amp;nbsp; [SEX] with the data F or M (female or male).&lt;/P&gt;&lt;P&gt;I want to change the F to a W.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this or something like this the way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD [SEX],&lt;/P&gt;&lt;P&gt;IF [SEX]=F then W as SEXa;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or maybe someone have a better solution??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Oct 2012 09:14:42 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-10-29T09:14:42Z</dc:date>
    <item>
      <title>change data in a load</title>
      <link>https://community.qlik.com/t5/QlikView/change-data-in-a-load/m-p/461547#M172356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I´ve got a field&amp;nbsp; [SEX] with the data F or M (female or male).&lt;/P&gt;&lt;P&gt;I want to change the F to a W.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this or something like this the way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD [SEX],&lt;/P&gt;&lt;P&gt;IF [SEX]=F then W as SEXa;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or maybe someone have a better solution??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2012 09:14:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/change-data-in-a-load/m-p/461547#M172356</guid>
      <dc:creator />
      <dc:date>2012-10-29T09:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: change data in a load</title>
      <link>https://community.qlik.com/t5/QlikView/change-data-in-a-load/m-p/461548#M172357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;LOAD [SEX],&lt;/P&gt;&lt;P&gt;IF ([SEX]= 'F','W') as SEXa;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;trie with this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2012 09:29:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/change-data-in-a-load/m-p/461548#M172357</guid>
      <dc:creator>fdelacal</dc:creator>
      <dc:date>2012-10-29T09:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: change data in a load</title>
      <link>https://community.qlik.com/t5/QlikView/change-data-in-a-load/m-p/461549#M172358</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; try like this&lt;/P&gt;&lt;P&gt; load *,if(sex='f','w',sex) as sex from tablename;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2012 09:31:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/change-data-in-a-load/m-p/461549#M172358</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2012-10-29T09:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: change data in a load</title>
      <link>https://community.qlik.com/t5/QlikView/change-data-in-a-load/m-p/461550#M172359</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;You can use the Mapping and Applymap() Concept.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer these two from Qlikview help menu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kabilan K.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2012 09:33:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/change-data-in-a-load/m-p/461550#M172359</guid>
      <dc:creator />
      <dc:date>2012-10-29T09:33:39Z</dc:date>
    </item>
    <item>
      <title>Re: change data in a load</title>
      <link>https://community.qlik.com/t5/QlikView/change-data-in-a-load/m-p/461551#M172360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kabilan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please make an example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2012 09:35:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/change-data-in-a-load/m-p/461551#M172360</guid>
      <dc:creator />
      <dc:date>2012-10-29T09:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: change data in a load</title>
      <link>https://community.qlik.com/t5/QlikView/change-data-in-a-load/m-p/461552#M172361</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;LOAD [SEX]&lt;/P&gt;&lt;P&gt;IF([SEX]='F',[SEX]) as SEXa;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prasath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2012 09:35:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/change-data-in-a-load/m-p/461552#M172361</guid>
      <dc:creator />
      <dc:date>2012-10-29T09:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: change data in a load</title>
      <link>https://community.qlik.com/t5/QlikView/change-data-in-a-load/m-p/461553#M172362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;LOAD [SEX],&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;IF [SEX]=F then W as SEXa;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;should be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;LOAD [SEX],&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;IF ([SEX]='F','W') as SEXa;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The field SEXa will have the value W when it was F. It will have a NULL value when it is NOT W... (meaning there is no else defined in the if clause)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the if/else syntax; it is pretty basic ;--)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2012 09:37:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/change-data-in-a-load/m-p/461553#M172362</guid>
      <dc:creator />
      <dc:date>2012-10-29T09:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: change data in a load</title>
      <link>https://community.qlik.com/t5/QlikView/change-data-in-a-load/m-p/461554#M172363</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;U can use below script....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MapTable:&lt;/P&gt;&lt;P&gt;Load * Inline&lt;/P&gt;&lt;P&gt;[Text, AltText&lt;/P&gt;&lt;P&gt;F,W];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;LOAD [SEX],&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Applymap('MapTable',[SEX]) as SEXa;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Hope this helps u.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Regards,&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Kabilan K.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2012 09:37:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/change-data-in-a-load/m-p/461554#M172363</guid>
      <dc:creator />
      <dc:date>2012-10-29T09:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: change data in a load</title>
      <link>https://community.qlik.com/t5/QlikView/change-data-in-a-load/m-p/461555#M172364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kabilan,&lt;/P&gt;&lt;P&gt;Below is the example&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;a:&lt;BR /&gt;Mapping&amp;nbsp; &lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Current, Changed&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; F,W&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;b:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sex, Name&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; M, Kim&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; F, Ruchi&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; M, David&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; F, Kathe&lt;BR /&gt;];&lt;BR /&gt;c:&lt;BR /&gt;NoConcatenate&lt;BR /&gt;LOAD Name, ApplyMap('a',Sex) as Se&lt;BR /&gt;Resident b;&lt;BR /&gt;drop Table b;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN style=": ; font-size: 1;"&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;/STRONG&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2012 10:04:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/change-data-in-a-load/m-p/461555#M172364</guid>
      <dc:creator />
      <dc:date>2012-10-29T10:04:07Z</dc:date>
    </item>
  </channel>
</rss>

