<?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: Create new field based on existing fields in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Create-new-field-based-on-existing-fields/m-p/1317223#M28306</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Felip. Will test on this and update here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Jun 2017 10:02:16 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-06-07T10:02:16Z</dc:date>
    <item>
      <title>Create new field based on existing fields</title>
      <link>https://community.qlik.com/t5/App-Development/Create-new-field-based-on-existing-fields/m-p/1317221#M28304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;Hi there,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 2pt; margin-bottom: 2pt;"&gt;&lt;SPAN style="color: black;"&gt;I need to create a new field (Distributor) based on two existing fields ( Disti_Name , Disti_Corp_ID) with the condition shown in table below.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 2pt; margin-bottom: 2pt;"&gt;&lt;SPAN style="color: black;"&gt;Is there any way to do this other than hard code?&lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="0" cellspacing="0" style="margin-left: 0.1pt; border: none;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="border: solid windowtext 1.0pt; padding: 0 2.25pt 0 2.25pt;" valign="top" width="79"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG style="color: black; font-family: 'Times New Roman',serif;"&gt;Disti_Name&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: solid windowtext 1.0pt; border-left: none; padding: 0 2.25pt 0 2.25pt;" valign="top" width="99"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG style="color: black; font-family: 'Times New Roman',serif;"&gt;Disti_Corp_ID&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border: solid windowtext 1.0pt; border-left: none; padding: 0 2.25pt 0 2.25pt;" valign="top" width="77"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG style="color: black; font-family: 'Times New Roman',serif;"&gt;Distributor&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid windowtext 1.0pt; border-top: none; padding: 0 2.25pt 0 2.25pt;" valign="top" width="79"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-family: 'Times New Roman',serif; color: black;"&gt;A_B&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 2.25pt 0 2.25pt;" valign="top" width="99"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-family: 'Times New Roman',serif; color: black;"&gt;A B&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 2.25pt 0 2.25pt;" valign="top" width="77"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-family: 'Times New Roman',serif; color: black;"&gt;AB&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid windowtext 1.0pt; border-top: none; padding: 0 2.25pt 0 2.25pt;" valign="top" width="79"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-family: 'Times New Roman',serif; color: black;"&gt;A_C&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 2.25pt 0 2.25pt;" valign="top" width="99"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-family: 'Times New Roman',serif; color: black;"&gt;A C&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 2.25pt 0 2.25pt;" valign="top" width="77"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-family: 'Times New Roman',serif; color: black;"&gt;AC&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: solid windowtext 1.0pt; border-top: none; padding: 0 2.25pt 0 2.25pt;" valign="top" width="79"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-family: 'Times New Roman',serif; color: black;"&gt;A_D&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 2.25pt 0 2.25pt;" valign="top" width="99"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-family: 'Times New Roman',serif; color: black;"&gt;A D&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 2.25pt 0 2.25pt;" valign="top" width="77"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-family: 'Times New Roman',serif; color: black;"&gt;AD&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2017 09:38:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Create-new-field-based-on-existing-fields/m-p/1317221#M28304</guid>
      <dc:creator />
      <dc:date>2017-06-06T09:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: Create new field based on existing fields</title>
      <link>https://community.qlik.com/t5/App-Development/Create-new-field-based-on-existing-fields/m-p/1317222#M28305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alice,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could do it in two ways:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1: create during the table load statement a concatenation of the two fields, something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;x:&lt;/P&gt;&lt;P&gt;load * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;&amp;nbsp; Disti_Name,Disti_Corp_ID,Distributor&lt;/P&gt;&lt;P&gt;&amp;nbsp; A_B,A B,AB&lt;/P&gt;&lt;P&gt;&amp;nbsp; A_C,A C,AC&lt;/P&gt;&lt;P&gt;&amp;nbsp; A_D,A D,AD&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp; Disti_Name,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Disti_Corp_ID,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Distributor,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; Disti_Name &amp;amp; '|' &amp;amp; Disti_Corp_ID as Key_LoadStatement&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Resident x;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop table x;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or create a table with the expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"=&lt;STRONG&gt;Disti_Name &amp;amp; Disti_Corp_ID&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached is a QVW with both options.&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;Felipe. !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jun 2017 12:54:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Create-new-field-based-on-existing-fields/m-p/1317222#M28305</guid>
      <dc:creator>felipedl</dc:creator>
      <dc:date>2017-06-06T12:54:38Z</dc:date>
    </item>
    <item>
      <title>Re: Create new field based on existing fields</title>
      <link>https://community.qlik.com/t5/App-Development/Create-new-field-based-on-existing-fields/m-p/1317223#M28306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Felip. Will test on this and update here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jun 2017 10:02:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Create-new-field-based-on-existing-fields/m-p/1317223#M28306</guid>
      <dc:creator />
      <dc:date>2017-06-07T10:02:16Z</dc:date>
    </item>
  </channel>
</rss>

