<?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 Create a new field from 2 fields in the load scrip with the data limited? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Create-a-new-field-from-2-fields-in-the-load-scrip-with-the-data/m-p/310298#M1198384</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Muralidhar, that worked great. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Mar 2011 11:10:38 GMT</pubDate>
    <dc:creator>hopkinsc</dc:creator>
    <dc:date>2011-03-04T11:10:38Z</dc:date>
    <item>
      <title>Create a new field from 2 fields in the load scrip with the data limited?</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-new-field-from-2-fields-in-the-load-scrip-with-the-data/m-p/310294#M1198380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I want to create a new field in my script from 2 other fields but i also want to limit the data .&lt;/P&gt;&lt;P&gt;i.e.&lt;/P&gt;&lt;P&gt;DealNumber&lt;/P&gt;&lt;P&gt;DealName&lt;/P&gt;&lt;P&gt;I want to combine these 2 fields which is easy enough:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DealNumber &amp;amp; '-' &amp;amp; DealName AS [Deal Description],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I only want it to show DealNumber &amp;gt;=200050 and DealNumber &amp;lt;=200020 or DealNumber =900000 and call it [Meal Deals]&lt;/P&gt;&lt;P&gt;Can anyone please tell me how i would write this into the script?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2011 13:00:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-new-field-from-2-fields-in-the-load-scrip-with-the-data/m-p/310294#M1198380</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2011-03-03T13:00:46Z</dc:date>
    </item>
    <item>
      <title>AW:Create a new field from 2 fields in the load scrip with the data limited?</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-new-field-from-2-fields-in-the-load-scrip-with-the-data/m-p/310295#M1198381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you send an example file ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2011 15:57:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-new-field-from-2-fields-in-the-load-scrip-with-the-data/m-p/310295#M1198381</guid>
      <dc:creator>volcore79</dc:creator>
      <dc:date>2011-03-03T15:57:14Z</dc:date>
    </item>
    <item>
      <title>Create a new field from 2 fields in the load scrip with the data limited?</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-new-field-from-2-fields-in-the-load-scrip-with-the-data/m-p/310296#M1198382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can add an IF statement while generating the new column [Deal Description]&lt;/P&gt;&lt;P&gt;IF((DealNumber&amp;gt;=200050 and DealNumber&amp;lt;=200020) OR DealNumber=900000,DealNumber &amp;amp; '-' &amp;amp; DealName) as [Deal Description]&lt;/P&gt;&lt;P&gt;Hope this healps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2011 16:06:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-new-field-from-2-fields-in-the-load-scrip-with-the-data/m-p/310296#M1198382</guid>
      <dc:creator />
      <dc:date>2011-03-03T16:06:01Z</dc:date>
    </item>
    <item>
      <title>Create a new field from 2 fields in the load scrip with the data limited?</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-new-field-from-2-fields-in-the-load-scrip-with-the-data/m-p/310297#M1198383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Think your selection criteria is wrong...&lt;/P&gt;&lt;P&gt;DealNumber cannot be &amp;gt;= 200050 and &amp;lt;= 200020&lt;/P&gt;&lt;P&gt;your code : DealNumber&amp;gt;=200050 and DealNumber&amp;lt;=200020 OR DealNumber=900000&lt;/P&gt;&lt;P&gt;Otherwise&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;DealNumber &amp;amp; '-' DealName as [Deal Description]&lt;/P&gt;&lt;P&gt;from Tablename&lt;/P&gt;&lt;P&gt;where&lt;/P&gt;&lt;P&gt;DealNumber &amp;gt;= 200020 and DealNumber &amp;lt;=200050&lt;/P&gt;&lt;P&gt;OR DealNumber = 900000;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2011 16:13:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-new-field-from-2-fields-in-the-load-scrip-with-the-data/m-p/310297#M1198383</guid>
      <dc:creator>bismart</dc:creator>
      <dc:date>2011-03-03T16:13:24Z</dc:date>
    </item>
    <item>
      <title>Create a new field from 2 fields in the load scrip with the data limited?</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-new-field-from-2-fields-in-the-load-scrip-with-the-data/m-p/310298#M1198384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Muralidhar, that worked great. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2011 11:10:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-new-field-from-2-fields-in-the-load-scrip-with-the-data/m-p/310298#M1198384</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2011-03-04T11:10:38Z</dc:date>
    </item>
  </channel>
</rss>

