<?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 \ or conditions in the script in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/If-or-conditions-in-the-script/m-p/1813365#M66409</link>
    <description>&lt;P&gt;Take a look on the following postings:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Documents/Mapping-and-not-the-geographical-kind/ta-p/1494869" target="_blank"&gt;Mapping … and not the geographical kind - Qlik Community - 1494869&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Documents/What-is-a-Mapping-Load-in-Qlikview/ta-p/1481005" target="_blank"&gt;What is a Mapping Load in Qlikview - Qlik Community - 1481005&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and be not impatient if you need a few days to go through all possibilities carefully. Mapping is an essential way of categorize, clean, flag or match the data and usually also the easiest and most suitable &amp;amp; performant approach for it. So it's worth to comprehend the logics.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
    <pubDate>Mon, 07 Jun 2021 11:34:28 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2021-06-07T11:34:28Z</dc:date>
    <item>
      <title>If \ or conditions in the script</title>
      <link>https://community.qlik.com/t5/App-Development/If-or-conditions-in-the-script/m-p/1812696#M66329</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a number of if statements like below,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(WildMatch(PLSR_Footnote_temp,'*D*') OR (INDEX(PLSR_Footnote_temp,'*')&amp;gt;1),'ZERO','NOT ZERO') as STATUS,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;if(WildMatch(PLSR_Footnote_temp,'*D*') OR (INDEX(PLSR_Footnote_temp,'*')&amp;gt;1),0,BEG_BAL) as BEG_BAL_1,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;if(WildMatch(PLSR_Footnote_temp,'*D*') OR (INDEX(PLSR_Footnote_temp,'*')&amp;gt;1),0,END_BAL) as END_BAL_1,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;if(WildMatch(PLSR_Footnote_temp,'*D*') OR (INDEX(PLSR_Footnote_temp,'*')&amp;gt;1),0,ACTIVITY) as ACTIVITY_1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please suggest how to move ahead to get the optimize results.&lt;/P&gt;&lt;P&gt;Thanks in advance!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jun 2021 07:49:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-or-conditions-in-the-script/m-p/1812696#M66329</guid>
      <dc:creator>deep2021</dc:creator>
      <dc:date>2021-06-14T07:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: If \ or conditions in the script</title>
      <link>https://community.qlik.com/t5/App-Development/If-or-conditions-in-the-script/m-p/1812740#M66335</link>
      <description>&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please suggest on this.&lt;/P&gt;&lt;P&gt;Thanks in advance!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jun 2021 13:51:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-or-conditions-in-the-script/m-p/1812740#M66335</guid>
      <dc:creator>deep2021</dc:creator>
      <dc:date>2021-06-03T13:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: If \ or conditions in the script</title>
      <link>https://community.qlik.com/t5/App-Development/If-or-conditions-in-the-script/m-p/1812817#M66343</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628" target="_blank"&gt;@sunny_talwar&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;- Please help&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jun 2021 18:32:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-or-conditions-in-the-script/m-p/1812817#M66343</guid>
      <dc:creator>deep2021</dc:creator>
      <dc:date>2021-06-03T18:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: If \ or conditions in the script</title>
      <link>https://community.qlik.com/t5/App-Development/If-or-conditions-in-the-script/m-p/1812844#M66345</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Create a flag for the values which match with your conditions in your statements (especially second one). Create a &lt;STRONG&gt;&amp;nbsp;LOAD INLINE&lt;/STRONG&gt; table (with your criterias ) and use it like a mapping table (Applymap()) . I hope it'll be helpful for you.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jun 2021 22:13:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-or-conditions-in-the-script/m-p/1812844#M66345</guid>
      <dc:creator>Seyko</dc:creator>
      <dc:date>2021-06-03T22:13:24Z</dc:date>
    </item>
    <item>
      <title>Re: If \ or conditions in the script</title>
      <link>https://community.qlik.com/t5/App-Development/If-or-conditions-in-the-script/m-p/1812996#M66357</link>
      <description>&lt;P&gt;Thanks for your inputs.&lt;/P&gt;&lt;P&gt;Can you please share an example for the same?&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jun 2021 12:58:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-or-conditions-in-the-script/m-p/1812996#M66357</guid>
      <dc:creator>deep2021</dc:creator>
      <dc:date>2021-06-04T12:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: If \ or conditions in the script</title>
      <link>https://community.qlik.com/t5/App-Development/If-or-conditions-in-the-script/m-p/1813365#M66409</link>
      <description>&lt;P&gt;Take a look on the following postings:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Documents/Mapping-and-not-the-geographical-kind/ta-p/1494869" target="_blank"&gt;Mapping … and not the geographical kind - Qlik Community - 1494869&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Documents/What-is-a-Mapping-Load-in-Qlikview/ta-p/1481005" target="_blank"&gt;What is a Mapping Load in Qlikview - Qlik Community - 1481005&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and be not impatient if you need a few days to go through all possibilities carefully. Mapping is an essential way of categorize, clean, flag or match the data and usually also the easiest and most suitable &amp;amp; performant approach for it. So it's worth to comprehend the logics.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jun 2021 11:34:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-or-conditions-in-the-script/m-p/1813365#M66409</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2021-06-07T11:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: If \ or conditions in the script</title>
      <link>https://community.qlik.com/t5/App-Development/If-or-conditions-in-the-script/m-p/1814775#M66630</link>
      <description>&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the valuable response. For the below code, is it possible to create the calculated column in the resident load for&amp;nbsp;WildMatch(PLSR_Footnote_temp,'*D*') OR (INDEX(PLSR_Footnote_temp,'*') and use the same in the script.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(WildMatch(PLSR_Footnote_temp,'*D*') OR (INDEX(PLSR_Footnote_temp,'*')&amp;gt;1),'ZERO','NOT ZERO') as STATUS,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;if(WildMatch(PLSR_Footnote_temp,'*D*') OR (INDEX(PLSR_Footnote_temp,'*')&amp;gt;1),0,BEG_BAL) as BEG_BAL_1,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;if(WildMatch(PLSR_Footnote_temp,'*D*') OR (INDEX(PLSR_Footnote_temp,'*')&amp;gt;1),0,END_BAL) as END_BAL_1,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;if(WildMatch(PLSR_Footnote_temp,'*D*') OR (INDEX(PLSR_Footnote_temp,'*')&amp;gt;1),0,ACTIVITY) as ACTIVITY_1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please suggest&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jun 2021 07:47:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-or-conditions-in-the-script/m-p/1814775#M66630</guid>
      <dc:creator>deep2021</dc:creator>
      <dc:date>2021-06-14T07:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: If \ or conditions in the script</title>
      <link>https://community.qlik.com/t5/App-Development/If-or-conditions-in-the-script/m-p/1814783#M66632</link>
      <description>&lt;P&gt;I'm not quite sure what you mean but you wouldn't need to do the check for each field else you may use a preceeding load like:&lt;/P&gt;&lt;P&gt;load *,&amp;nbsp; pick(Check, 'ZERO', 'NOT ZERO') as STATUS, pick(Check, 0, BEG_BAL) as BEG_BAL_1, ...&lt;STRONG&gt;;&lt;/STRONG&gt;&lt;BR /&gt;load *, if(wildmatch(...) or index(...)&amp;gt;1, 1, 2) as Check from Source;&lt;/P&gt;&lt;P&gt;Whereby if there are many of such matchings I would in general look to avoid and/or minimize them and/or to apply rather join/mapping/association approaches as creating duplicate information in extra fields.&lt;/P&gt;&lt;P&gt;- Marcus&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jun 2021 08:08:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-or-conditions-in-the-script/m-p/1814783#M66632</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2021-06-14T08:08:47Z</dc:date>
    </item>
  </channel>
</rss>

