<?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 Creating a flag field from two separate QVD in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Creating-a-flag-field-from-two-separate-QVD/m-p/1427414#M34121</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In short I have two fields 'country' from a country.QVD and 'order_booked' from orders.QVD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;They are in two differing sections of the load script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Want I want to be able to get to, is to create a flag field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When 'Country'=UK and 'Order_booking'='false'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Everytime I try if(country='UK',if(Order_Booked='false',1,0),0) as uknotbookedflag&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when loading the data it states that one or the other field does not exist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any Ideas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thought i would add the actual script &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2017-09-03_11-27-05.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/175459_2017-09-03_11-27-05.jpg" style="height: 489px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Michael Gauntlett adding in script&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 02 Sep 2017 12:36:12 GMT</pubDate>
    <dc:creator>mikegauntlett</dc:creator>
    <dc:date>2017-09-02T12:36:12Z</dc:date>
    <item>
      <title>Creating a flag field from two separate QVD</title>
      <link>https://community.qlik.com/t5/App-Development/Creating-a-flag-field-from-two-separate-QVD/m-p/1427414#M34121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In short I have two fields 'country' from a country.QVD and 'order_booked' from orders.QVD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;They are in two differing sections of the load script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Want I want to be able to get to, is to create a flag field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When 'Country'=UK and 'Order_booking'='false'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Everytime I try if(country='UK',if(Order_Booked='false',1,0),0) as uknotbookedflag&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when loading the data it states that one or the other field does not exist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any Ideas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thought i would add the actual script &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2017-09-03_11-27-05.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/175459_2017-09-03_11-27-05.jpg" style="height: 489px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Michael Gauntlett adding in script&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Sep 2017 12:36:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Creating-a-flag-field-from-two-separate-QVD/m-p/1427414#M34121</guid>
      <dc:creator>mikegauntlett</dc:creator>
      <dc:date>2017-09-02T12:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a flag field from two separate QVD</title>
      <link>https://community.qlik.com/t5/App-Development/Creating-a-flag-field-from-two-separate-QVD/m-p/1427415#M34122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You will have to bring the two tables into a single table either using a join or Lookup or ApplyMap and then do the if statement you are looking to do&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Sep 2017 15:59:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Creating-a-flag-field-from-two-separate-QVD/m-p/1427415#M34122</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-02T15:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a flag field from two separate QVD</title>
      <link>https://community.qlik.com/t5/App-Development/Creating-a-flag-field-from-two-separate-QVD/m-p/1427416#M34123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI sunny&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do those methods work, sorry&amp;nbsp; new to qliksense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the syntaxes for the apply map function &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Sep 2017 16:39:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Creating-a-flag-field-from-two-separate-QVD/m-p/1427416#M34123</guid>
      <dc:creator>mikegauntlett</dc:creator>
      <dc:date>2017-09-02T16:39:40Z</dc:date>
    </item>
  </channel>
</rss>

