<?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: Loading IF statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Loading-IF-statement/m-p/1021411#M639601</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your if() statements need at least a THEN branch, and check your string value matching, like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if(([trackCode]='BOOKED') AND Match([TransportMode],'B','V')&lt;STRONG&gt;, 'Yipiieh!'&lt;/STRONG&gt;&amp;nbsp; ) as TB&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Mar 2016 10:19:06 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2016-03-31T10:19:06Z</dc:date>
    <item>
      <title>Loading IF statement</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-IF-statement/m-p/1021410#M639600</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;I am struggling with the loading script using IF below, appreciate anyone's help :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;[TCODE]:&lt;BR /&gt;LOAD fileNumber&lt;/P&gt;&lt;P&gt;if(([trackCode]='BOOKED') AND [TransportMode]={'B','V'}) as TB&lt;BR /&gt;if(([trackCode]='BOOKCONF) AND [TransportMode]={'P','T'}) as TD&lt;BR /&gt;resident [Shipment];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The shipment already has trackCode and TransportMode fields, the problem is the syntax error.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;AG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Mar 2016 03:57:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-IF-statement/m-p/1021410#M639600</guid>
      <dc:creator />
      <dc:date>2016-03-31T03:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: Loading IF statement</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-IF-statement/m-p/1021411#M639601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your if() statements need at least a THEN branch, and check your string value matching, like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if(([trackCode]='BOOKED') AND Match([TransportMode],'B','V')&lt;STRONG&gt;, 'Yipiieh!'&lt;/STRONG&gt;&amp;nbsp; ) as TB&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Mar 2016 10:19:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-IF-statement/m-p/1021411#M639601</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-03-31T10:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: Loading IF statement</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-IF-statement/m-p/1021412#M639602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;[TCODE]:&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;LOAD fileNumber&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If([trackCode]='BOOKED' and WildMatch([TransportMode], 'B','V'), 1, 0) as TB&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If([trackCode]='BOOKCONF' and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;WildMatch(&lt;/SPAN&gt;[TransportMode], 'P','T'), 1, 0) as TD&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Resident [Shipment];&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Mar 2016 10:20:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-IF-statement/m-p/1021412#M639602</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-31T10:20:00Z</dc:date>
    </item>
    <item>
      <title>Re: Loading IF statement</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-IF-statement/m-p/1021413#M639603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ur missing single quote&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[TCODE]:&lt;BR /&gt;LOAD fileNumber&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(([trackCode]='BOOKED') AND [TransportMode]={'B','V'}) as TB&lt;BR /&gt;if(([trackCode]=&lt;STRONG&gt;'BOOKCONF')&lt;/STRONG&gt; AND [TransportMode]={'P','T'}) as TD&lt;BR /&gt;resident [Shipment];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Mar 2016 10:28:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-IF-statement/m-p/1021413#M639603</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-03-31T10:28:26Z</dc:date>
    </item>
    <item>
      <title>Re: Loading IF statement</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-IF-statement/m-p/1021414#M639604</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;Please try this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/119997_Untitled.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Saniya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Mar 2016 10:56:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-IF-statement/m-p/1021414#M639604</guid>
      <dc:creator>saniyask</dc:creator>
      <dc:date>2016-03-31T10:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: Loading IF statement</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-IF-statement/m-p/1021415#M639605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;It means i think Missing the single Quote&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;The shipment already has trackCode and TransportMode fields, the problem is the syntax error.&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Mar 2016 11:21:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-IF-statement/m-p/1021415#M639605</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-03-31T11:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: Loading IF statement</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-IF-statement/m-p/1021416#M639606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Extending to sunny syntax, we can use below in Red to give a meaningful name using Dual&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;[TCODE]:&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;LOAD fileNumber&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If([trackCode]='BOOKED' and WildMatch([TransportMode], 'B','V'), Dual('TransportModeBV',1), Dual('TransportModeNOTBV',0)) as TB&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Resident [Shipment];&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Apr 2016 20:41:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-IF-statement/m-p/1021416#M639606</guid>
      <dc:creator>satishkurra</dc:creator>
      <dc:date>2016-04-01T20:41:03Z</dc:date>
    </item>
  </channel>
</rss>

