<?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: Script question: How to create a field with values based on another field in the same table? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Script-question-How-to-create-a-field-with-values-based-on/m-p/58752#M606337</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think its possible with If statement,but you may need to hard code the country name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If (Country = 'UK' or Country = 'US' or Country = 'Australia',Country) as Country2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Binu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Mar 2018 23:22:29 GMT</pubDate>
    <dc:creator>binujose1982</dc:creator>
    <dc:date>2018-03-06T23:22:29Z</dc:date>
    <item>
      <title>Script question: How to create a field with values based on another field in the same table?</title>
      <link>https://community.qlik.com/t5/QlikView/Script-question-How-to-create-a-field-with-values-based-on/m-p/58748#M606333</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 have the following field:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Country:&lt;/P&gt;&lt;P&gt;Australia&lt;/P&gt;&lt;P&gt;Brazil&lt;/P&gt;&lt;P&gt;China&lt;/P&gt;&lt;P&gt;France&lt;/P&gt;&lt;P&gt;UK&lt;/P&gt;&lt;P&gt;US&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the country field above I want to create a Country2 field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Country2 field values should be:&lt;/P&gt;&lt;P&gt;Australia&lt;/P&gt;&lt;P&gt;UK&lt;/P&gt;&lt;P&gt;US&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I create this field most efficiently please in the script?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2018 14:33:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-question-How-to-create-a-field-with-values-based-on/m-p/58748#M606333</guid>
      <dc:creator>mwallman</dc:creator>
      <dc:date>2018-03-06T14:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: Script question: How to create a field with values based on another field in the same table?</title>
      <link>https://community.qlik.com/t5/QlikView/Script-question-How-to-create-a-field-with-values-based-on/m-p/58749#M606334</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;ok for the second field Country2, but the question here is how you want it to be linked to the first field ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2018 14:40:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-question-How-to-create-a-field-with-values-based-on/m-p/58749#M606334</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-03-06T14:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: Script question: How to create a field with values based on another field in the same table?</title>
      <link>https://community.qlik.com/t5/QlikView/Script-question-How-to-create-a-field-with-values-based-on/m-p/58750#M606335</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;Both of the fields will be in the same table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just want Australia, UK, US for Country2 if they are present in the Country field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2018 14:56:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-question-How-to-create-a-field-with-values-based-on/m-p/58750#M606335</guid>
      <dc:creator>mwallman</dc:creator>
      <dc:date>2018-03-06T14:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: Script question: How to create a field with values based on another field in the same table?</title>
      <link>https://community.qlik.com/t5/QlikView/Script-question-How-to-create-a-field-with-values-based-on/m-p/58751#M606336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;why?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2018 22:00:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-question-How-to-create-a-field-with-values-based-on/m-p/58751#M606336</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2018-03-06T22:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: Script question: How to create a field with values based on another field in the same table?</title>
      <link>https://community.qlik.com/t5/QlikView/Script-question-How-to-create-a-field-with-values-based-on/m-p/58752#M606337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think its possible with If statement,but you may need to hard code the country name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If (Country = 'UK' or Country = 'US' or Country = 'Australia',Country) as Country2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Binu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2018 23:22:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-question-How-to-create-a-field-with-values-based-on/m-p/58752#M606337</guid>
      <dc:creator>binujose1982</dc:creator>
      <dc:date>2018-03-06T23:22:29Z</dc:date>
    </item>
  </channel>
</rss>

