<?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: Expression : condition before a sum (condition avant de sommer) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-condition-before-a-sum-condition-avant-de-sommer/m-p/465140#M487339</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot ! It works.&lt;/P&gt;&lt;P&gt;I did not see so many examples in the Qlikview reference manual for expressions. It is generic. If a valuable source exists for examples, do not hesitate to tell me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Jan 2013 09:11:34 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-01-29T09:11:34Z</dc:date>
    <item>
      <title>Expression : condition before a sum (condition avant de sommer)</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-condition-before-a-sum-condition-avant-de-sommer/m-p/465138#M487337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bonjour / Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just started with Qlikview but i could not find out what i easily did with MS Access :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to sum a numeric field but only when a varchar field contains part of a text which is in another field.&lt;/P&gt;&lt;P&gt;This should be very simple..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field 1 : murex&lt;/P&gt;&lt;P&gt;Field 2 : direct costs murex&lt;/P&gt;&lt;P&gt;Field 3 : costs (numeric field)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to make a sum only for the rows for which we find "murex" in "direct costs murex"&amp;nbsp;&amp;nbsp; (we exclude direct costs application XXYY)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A few try but that does not work :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(Field 2 like '*Field 1*'; Sum (costs);0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2013 00:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-condition-before-a-sum-condition-avant-de-sommer/m-p/465138#M487337</guid>
      <dc:creator />
      <dc:date>2013-01-29T00:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Expression : condition before a sum (condition avant de sommer)</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-condition-before-a-sum-condition-avant-de-sommer/m-p/465139#M487338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may use the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(If(Index(Field2, Field1) &amp;gt; 0,costs,0))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2013 01:04:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-condition-before-a-sum-condition-avant-de-sommer/m-p/465139#M487338</guid>
      <dc:creator>nagaiank</dc:creator>
      <dc:date>2013-01-29T01:04:05Z</dc:date>
    </item>
    <item>
      <title>Re: Expression : condition before a sum (condition avant de sommer)</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-condition-before-a-sum-condition-avant-de-sommer/m-p/465140#M487339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot ! It works.&lt;/P&gt;&lt;P&gt;I did not see so many examples in the Qlikview reference manual for expressions. It is generic. If a valuable source exists for examples, do not hesitate to tell me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2013 09:11:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-condition-before-a-sum-condition-avant-de-sommer/m-p/465140#M487339</guid>
      <dc:creator />
      <dc:date>2013-01-29T09:11:34Z</dc:date>
    </item>
  </channel>
</rss>

