<?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: Replace Applymap with IF ELSE or CASE statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Replace-Applymap-with-IF-ELSE-or-CASE-statement/m-p/34876#M789733</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wouldn't an ApplyMap be best described as an ordinary join in most other languages?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Feb 2018 12:54:06 GMT</pubDate>
    <dc:creator>RonaldDoes</dc:creator>
    <dc:date>2018-02-01T12:54:06Z</dc:date>
    <item>
      <title>Replace Applymap with IF ELSE or CASE statement</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-Applymap-with-IF-ELSE-or-CASE-statement/m-p/34875#M789732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement like I want to convert the Qlik Data model into a query. since Qlik Doesn't gives a query, I manually trying to convert the existing script into a Query. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I got a requirement like Applymap needs to be replace with IF else or case statement. &lt;/P&gt;&lt;P&gt;if we have only one argument we in applymap we can simply write it. But i have nested applymap in nested If condition. &lt;/P&gt;&lt;P&gt;below is the code. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(OPERATING_UNIT_NAME = 'Grafton OU', &lt;/P&gt;&lt;P&gt;ApplyMap('CDBGBusinessUnitMap', Num#(CUSTOMER_TRANSACTION_NUMBER) ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(BATCH_SOURCE_NAME = 'PROJECTS INVOICES' AND NOT(IsNull(ACCT_BU)), ApplyMap('TaskOrgBUMap', ACCT_BU, ACCT_BU), ApplyMap('BusinessUnitMapInvoice',BusinessUnitID, 'Other'))),&lt;/P&gt;&lt;P&gt;If(BATCH_SOURCE_NAME = 'PROJECTS INVOICES' AND NOT(IsNull(ACCT_BU)), ApplyMap('TaskOrgBUMap', ACCT_BU, ACCT_BU), ApplyMap('BusinessUnitMapInvoice',BusinessUnitID, 'Other'))&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me on this. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-Applymap-with-IF-ELSE-or-CASE-statement/m-p/34875#M789732</guid>
      <dc:creator>viveksingh</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Applymap with IF ELSE or CASE statement</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-Applymap-with-IF-ELSE-or-CASE-statement/m-p/34876#M789733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wouldn't an ApplyMap be best described as an ordinary join in most other languages?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2018 12:54:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-Applymap-with-IF-ELSE-or-CASE-statement/m-p/34876#M789733</guid>
      <dc:creator>RonaldDoes</dc:creator>
      <dc:date>2018-02-01T12:54:06Z</dc:date>
    </item>
  </channel>
</rss>

