<?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 How can i write an expression with if statement, applymap and left() / right() functions? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-can-i-write-an-expression-with-if-statement-applymap-and/m-p/1639617#M595011</link>
    <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;attached is a sample data file (is a personal/desktop) edition.&lt;/P&gt;&lt;P&gt;The output i want to obtain is the following:&lt;/P&gt;&lt;P&gt;if field5 = 0,&amp;nbsp; the first 5 number of field4 and the last two of the same field.&lt;/P&gt;&lt;P&gt;applymap and left() / right () functions can coexist?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mattia&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 19:49:00 GMT</pubDate>
    <dc:creator>Mattia</dc:creator>
    <dc:date>2024-11-16T19:49:00Z</dc:date>
    <item>
      <title>How can i write an expression with if statement, applymap and left() / right() functions?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-i-write-an-expression-with-if-statement-applymap-and/m-p/1639617#M595011</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;attached is a sample data file (is a personal/desktop) edition.&lt;/P&gt;&lt;P&gt;The output i want to obtain is the following:&lt;/P&gt;&lt;P&gt;if field5 = 0,&amp;nbsp; the first 5 number of field4 and the last two of the same field.&lt;/P&gt;&lt;P&gt;applymap and left() / right () functions can coexist?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mattia&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 19:49:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-i-write-an-expression-with-if-statement-applymap-and/m-p/1639617#M595011</guid>
      <dc:creator>Mattia</dc:creator>
      <dc:date>2024-11-16T19:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: How can i write an expression with if statement, applymap and left() / right() functions?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-i-write-an-expression-with-if-statement-applymap-and/m-p/1639619#M595012</link>
      <description>&lt;P&gt;May be this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;If([FIELD5] = 0, Left(ApplyMap('KEY_TO_FIELD4', [FIELD2], 'n/a'), 7) &amp;amp; ',' &amp;amp; Right(ApplyMap('KEY_TO_FIELD4', [FIELD2], 'n/a'), 2)) as New_Field&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 24 Oct 2019 16:23:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-i-write-an-expression-with-if-statement-applymap-and/m-p/1639619#M595012</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-10-24T16:23:38Z</dc:date>
    </item>
  </channel>
</rss>

