<?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 More than one statement to a field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/More-than-one-statement-to-a-field/m-p/1157286#M377420</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the following data ( attached ). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already have the following statement which says anything that begins with 9 should be assigned a region of unrestricted. &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(WildMatch(Sales_Number ,'9*',Region),'unrestricted',Region) as Region_New&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;&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;What I now want to do as per the expected output in the spreadsheet is to say any region that begins Lon* should be replaced with London. &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;&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;Please assist with applying the new logic to current one. &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Jul 2016 10:10:49 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-07-01T10:10:49Z</dc:date>
    <item>
      <title>More than one statement to a field</title>
      <link>https://community.qlik.com/t5/QlikView/More-than-one-statement-to-a-field/m-p/1157286#M377420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the following data ( attached ). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already have the following statement which says anything that begins with 9 should be assigned a region of unrestricted. &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(WildMatch(Sales_Number ,'9*',Region),'unrestricted',Region) as Region_New&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;&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;What I now want to do as per the expected output in the spreadsheet is to say any region that begins Lon* should be replaced with London. &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;&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;Please assist with applying the new logic to current one. &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jul 2016 10:10:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/More-than-one-statement-to-a-field/m-p/1157286#M377420</guid>
      <dc:creator />
      <dc:date>2016-07-01T10:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: More than one statement to a field</title>
      <link>https://community.qlik.com/t5/QlikView/More-than-one-statement-to-a-field/m-p/1157287#M377421</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;You need nested if else&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(wildmatch(Sales_Number,'9*'),'UnRestricted',&lt;/P&gt;&lt;P&gt;if(wildmatch(Region,'Lon*'),'London',&lt;/P&gt;&lt;P&gt;Region))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jul 2016 10:22:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/More-than-one-statement-to-a-field/m-p/1157287#M377421</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2016-07-01T10:22:32Z</dc:date>
    </item>
    <item>
      <title>Re: More than one statement to a field</title>
      <link>https://community.qlik.com/t5/QlikView/More-than-one-statement-to-a-field/m-p/1157288#M377422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this:&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(WildMatch(Sales_Number ,'9*',Region),'unrestricted',Region) or if(wildmatch(Region,'Lon*','London',Region) as Region_New&lt;/SPAN&gt;&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;HTH&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jul 2016 10:25:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/More-than-one-statement-to-a-field/m-p/1157288#M377422</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2016-07-01T10:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: More than one statement to a field</title>
      <link>https://community.qlik.com/t5/QlikView/More-than-one-statement-to-a-field/m-p/1157289#M377423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is missing a bracket I believe (?)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jul 2016 11:50:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/More-than-one-statement-to-a-field/m-p/1157289#M377423</guid>
      <dc:creator />
      <dc:date>2016-07-01T11:50:50Z</dc:date>
    </item>
  </channel>
</rss>

