<?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 value is present, ignore the rest in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/If-value-is-present-ignore-the-rest/m-p/1517171#M36851</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;PRE&gt; IF("Movement Type"='Promotion Band Up','Implemented' ,
 IF("Movement Type"='Promotion Within Band','Not Implemented' ,
 IF("Movement Type"='Lateral Move','Not Implemented' ,
 IF(isnull("Movement Type"), 'Not Implemented' ,
 IF("Movement Type"='Termination Voluntary','Not Implemented',
 IF("Movement Type"='Termination Involuntary', 'Not Implemented')))))) as "4A Implementation", &lt;/PRE&gt;&lt;P&gt;With this code I define an implementation of something.&lt;/P&gt;&lt;P&gt;As my source files I have: Employee report and Movement Report.&lt;/P&gt;&lt;P&gt;Because I load my movement script concatenated, every person that has a movement has 1 line from the movement report, and 1 line from the employee report.&lt;/P&gt;&lt;P&gt;The line from the employee report will be blank where the movement report will show a movement.&lt;/P&gt;&lt;P&gt;I now want to implement this implementation script, that it looks if a value is already present from the movement script, and then will show implemented in both the employee report line and movement report line.&lt;/P&gt;&lt;P&gt;As you can see in the picture, the first line for example, is the same person. She already has 1 implemented line, her other line should then also say implemented.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled.png" style="width: 870px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/1683i11E51FE6859842D9/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled.png" alt="Untitled.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 06 Dec 2018 08:17:43 GMT</pubDate>
    <dc:creator>robin_heijt</dc:creator>
    <dc:date>2018-12-06T08:17:43Z</dc:date>
    <item>
      <title>If value is present, ignore the rest</title>
      <link>https://community.qlik.com/t5/App-Development/If-value-is-present-ignore-the-rest/m-p/1517171#M36851</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;PRE&gt; IF("Movement Type"='Promotion Band Up','Implemented' ,
 IF("Movement Type"='Promotion Within Band','Not Implemented' ,
 IF("Movement Type"='Lateral Move','Not Implemented' ,
 IF(isnull("Movement Type"), 'Not Implemented' ,
 IF("Movement Type"='Termination Voluntary','Not Implemented',
 IF("Movement Type"='Termination Involuntary', 'Not Implemented')))))) as "4A Implementation", &lt;/PRE&gt;&lt;P&gt;With this code I define an implementation of something.&lt;/P&gt;&lt;P&gt;As my source files I have: Employee report and Movement Report.&lt;/P&gt;&lt;P&gt;Because I load my movement script concatenated, every person that has a movement has 1 line from the movement report, and 1 line from the employee report.&lt;/P&gt;&lt;P&gt;The line from the employee report will be blank where the movement report will show a movement.&lt;/P&gt;&lt;P&gt;I now want to implement this implementation script, that it looks if a value is already present from the movement script, and then will show implemented in both the employee report line and movement report line.&lt;/P&gt;&lt;P&gt;As you can see in the picture, the first line for example, is the same person. She already has 1 implemented line, her other line should then also say implemented.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled.png" style="width: 870px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/1683i11E51FE6859842D9/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled.png" alt="Untitled.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Dec 2018 08:17:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-value-is-present-ignore-the-rest/m-p/1517171#M36851</guid>
      <dc:creator>robin_heijt</dc:creator>
      <dc:date>2018-12-06T08:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: If value is present, ignore the rest</title>
      <link>https://community.qlik.com/t5/App-Development/If-value-is-present-ignore-the-rest/m-p/1517177#M36852</link>
      <description>&lt;P&gt;Try the match function, this might be a better way to do this together with the pick function.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Dec 2018 08:36:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-value-is-present-ignore-the-rest/m-p/1517177#M36852</guid>
      <dc:creator>bramkn</dc:creator>
      <dc:date>2018-12-06T08:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: If value is present, ignore the rest</title>
      <link>https://community.qlik.com/t5/App-Development/If-value-is-present-ignore-the-rest/m-p/1517178#M36853</link>
      <description>Thanks,&lt;BR /&gt;&lt;BR /&gt;Could you please guide me in the right direction as to what you mean?&lt;BR /&gt;Where would I use match and pick?&lt;BR /&gt;I have never used the syntax Pick before &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Thu, 06 Dec 2018 08:37:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-value-is-present-ignore-the-rest/m-p/1517178#M36853</guid>
      <dc:creator>robin_heijt</dc:creator>
      <dc:date>2018-12-06T08:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: If value is present, ignore the rest</title>
      <link>https://community.qlik.com/t5/App-Development/If-value-is-present-ignore-the-rest/m-p/1517180#M36854</link>
      <description>the match function returns a number for the string that is matched to the field value. so if you have a pick arround that you can use pick to determine what string to give back for that number. Its basically the inverse of match. giving a number and getting a string in return.</description>
      <pubDate>Thu, 06 Dec 2018 08:38:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-value-is-present-ignore-the-rest/m-p/1517180#M36854</guid>
      <dc:creator>bramkn</dc:creator>
      <dc:date>2018-12-06T08:38:59Z</dc:date>
    </item>
    <item>
      <title>Re: If value is present, ignore the rest</title>
      <link>https://community.qlik.com/t5/App-Development/If-value-is-present-ignore-the-rest/m-p/1517182#M36855</link>
      <description>Could you possibly type that out for me? Because I understand what you are saying. But I am totally lost in how to adapt my script to use that. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Thu, 06 Dec 2018 08:43:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-value-is-present-ignore-the-rest/m-p/1517182#M36855</guid>
      <dc:creator>robin_heijt</dc:creator>
      <dc:date>2018-12-06T08:43:31Z</dc:date>
    </item>
    <item>
      <title>Re: If value is present, ignore the rest</title>
      <link>https://community.qlik.com/t5/App-Development/If-value-is-present-ignore-the-rest/m-p/1517204#M36858</link>
      <description>pick(match("Movement Type",'Promotion Band Up','Promotion Within Band'etc....),'Implemented','notimplemented')&lt;BR /&gt;Not sure if pick startes with 0 or 1 so ull need to play arround with that.</description>
      <pubDate>Thu, 06 Dec 2018 09:17:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-value-is-present-ignore-the-rest/m-p/1517204#M36858</guid>
      <dc:creator>bramkn</dc:creator>
      <dc:date>2018-12-06T09:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: If value is present, ignore the rest</title>
      <link>https://community.qlik.com/t5/App-Development/If-value-is-present-ignore-the-rest/m-p/1517259#M36866</link>
      <description>&lt;P&gt;Alright, thanks. I understand.&lt;/P&gt;&lt;P&gt;But it unfortunately does not solve my issue.&lt;BR /&gt;What I need it to do now, is see if there is a previous implemented value assigned to an ID, and then fill in the blanks with implemented too.&lt;/P&gt;&lt;P&gt;So as example:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/1703i353ADEF5B6D6EFBC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Untitled.png" alt="Untitled.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The red lines should also say implemented.&lt;/P&gt;&lt;P&gt;But in the case of Ekaterin, it should say not implemented, as she does not have a movement at all.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Dec 2018 10:31:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-value-is-present-ignore-the-rest/m-p/1517259#M36866</guid>
      <dc:creator>robin_heijt</dc:creator>
      <dc:date>2018-12-06T10:31:23Z</dc:date>
    </item>
  </channel>
</rss>

