<?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 If- then formule in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/If-then-formule/m-p/231638#M83345</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you. I have made a mapping table. I can use this often in future!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Oct 2010 20:56:56 GMT</pubDate>
    <dc:creator>francisvandergr</dc:creator>
    <dc:date>2010-10-07T20:56:56Z</dc:date>
    <item>
      <title>If- then formule</title>
      <link>https://community.qlik.com/t5/QlikView/If-then-formule/m-p/231635#M83342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;H3&gt;Hello&lt;/H3&gt;&lt;H3&gt;Often i use this kind of formula: if (CategoryID= 5 or CategoryID=6,'Footwear','Clothing') as CategoryType&lt;/H3&gt;&lt;P&gt;Now i have a problem with a field: status In this field i can have 3 values&lt;/P&gt;&lt;P&gt;O , M or F ; this values i wanna translate to&lt;/P&gt;&lt;P&gt;O=Off M=Mag and F=Fac and the field must have the name Status&lt;/P&gt;&lt;P&gt;if (Status=O, .................................. ?&lt;/P&gt;&lt;P&gt;Who can help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Oct 2010 20:23:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-then-formule/m-p/231635#M83342</guid>
      <dc:creator>francisvandergr</dc:creator>
      <dc:date>2010-10-07T20:23:25Z</dc:date>
    </item>
    <item>
      <title>If- then formule</title>
      <link>https://community.qlik.com/t5/QlikView/If-then-formule/m-p/231636#M83343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Francis,&lt;/P&gt;&lt;P&gt;You may use something like (untested)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;If(Pick(Match(Status, 'O', 'M', 'F'), 'Off', 'Mag', 'Fac'))&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;But I'd strongly recommend you to use a mapping table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;StatusMap:MAPPING LOAD * INLINE [Input, OutputO, OffM, MagF, Fac]; LOAD *, ApplyMap('StatusMap', Status) AS StatusFROM file.qvd (qvd);&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Hope that helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Oct 2010 20:42:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-then-formule/m-p/231636#M83343</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-10-07T20:42:31Z</dc:date>
    </item>
    <item>
      <title>If- then formule</title>
      <link>https://community.qlik.com/t5/QlikView/If-then-formule/m-p/231637#M83344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use something more simple.....&lt;/P&gt;&lt;P&gt;IF(Status='0','Off',IF(Status='M','Mag','FAC'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Oct 2010 20:56:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-then-formule/m-p/231637#M83344</guid>
      <dc:creator />
      <dc:date>2010-10-07T20:56:53Z</dc:date>
    </item>
    <item>
      <title>If- then formule</title>
      <link>https://community.qlik.com/t5/QlikView/If-then-formule/m-p/231638#M83345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you. I have made a mapping table. I can use this often in future!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Oct 2010 20:56:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-then-formule/m-p/231638#M83345</guid>
      <dc:creator>francisvandergr</dc:creator>
      <dc:date>2010-10-07T20:56:56Z</dc:date>
    </item>
  </channel>
</rss>

