<?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: If statement else nothing in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/If-statement-else-nothing/m-p/1057998#M939970</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Lets assume the field this 1-5 is in is called "theField" (and A, B, C, E and F are random other fields from the same table):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;A,&lt;/P&gt;&lt;P&gt;B,&lt;/P&gt;&lt;P&gt;C,&lt;/P&gt;&lt;P&gt;if(theField = 3, 'Banana', theField) as aField&lt;/P&gt;&lt;P&gt;E,&lt;/P&gt;&lt;P&gt;F&lt;/P&gt;&lt;P&gt;from some source&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Jan 2016 16:43:09 GMT</pubDate>
    <dc:creator>oknotsen</dc:creator>
    <dc:date>2016-01-22T16:43:09Z</dc:date>
    <item>
      <title>If statement else nothing</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-else-nothing/m-p/1057997#M939969</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 want to make a if statement already in teh laoding script. Lets say i have a list of 5 clients. If client is 3 then Banana else just keep the original valuesof 1,2,4,5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Client:&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;2&lt;/P&gt;&lt;P&gt;3 = Banana&lt;/P&gt;&lt;P&gt;4&lt;/P&gt;&lt;P&gt;5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2020 18:02:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-else-nothing/m-p/1057997#M939969</guid>
      <dc:creator />
      <dc:date>2020-11-20T18:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: If statement else nothing</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-else-nothing/m-p/1057998#M939970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Lets assume the field this 1-5 is in is called "theField" (and A, B, C, E and F are random other fields from the same table):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;A,&lt;/P&gt;&lt;P&gt;B,&lt;/P&gt;&lt;P&gt;C,&lt;/P&gt;&lt;P&gt;if(theField = 3, 'Banana', theField) as aField&lt;/P&gt;&lt;P&gt;E,&lt;/P&gt;&lt;P&gt;F&lt;/P&gt;&lt;P&gt;from some source&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2016 16:43:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-else-nothing/m-p/1057998#M939970</guid>
      <dc:creator>oknotsen</dc:creator>
      <dc:date>2016-01-22T16:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: If statement else nothing</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-else-nothing/m-p/1057999#M939971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;try like this...&lt;/SPAN&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;Load *,&lt;BR /&gt;&lt;/SPAN&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(Client='3', 'Banana', Client) as Client&lt;/SPAN&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;From Source;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2016 17:21:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-else-nothing/m-p/1057999#M939971</guid>
      <dc:creator>PradeepReddy</dc:creator>
      <dc:date>2016-01-22T17:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: If statement else nothing</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-else-nothing/m-p/1058000#M939972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;another one could be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Client:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Client as ClientOrig, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; &lt;STRONG&gt;pick(wildMatch(Client, 3, '*'), 'Banana', Client) as Client&amp;nbsp; &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;inline [&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Client &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;2&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;3&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;33&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;4&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;5&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;];&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2016 17:48:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-else-nothing/m-p/1058000#M939972</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2016-01-22T17:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: If statement else nothing</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-else-nothing/m-p/1058001#M939973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For the best &lt;SPAN lang="en"&gt;maintenance try this&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Map_ClientName:&lt;/P&gt;&lt;P&gt;Mapping&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID, Name&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3, Banana&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ClientTable:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ApplyMap('&lt;SPAN style="font-size: 13.3333px;"&gt;Map_ClientName&lt;/SPAN&gt;',Client) as Client&lt;/P&gt;&lt;P&gt;From Source.xls;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Applymap if no find ID in the Map_ClientName, put the original Client value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, if in the future you need other Name for your client, just add to the Map_ClientName.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2016 17:53:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-else-nothing/m-p/1058001#M939973</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-22T17:53:59Z</dc:date>
    </item>
  </channel>
</rss>

