<?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: Function IF or IF in expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Function-IF-or-IF-in-expression/m-p/1068679#M934295</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rangesum(if([Site Facture]= 'PX', (CMSPSX*Qte), [Site Facture]), if([Site Facture]= 'FV', (CMSFV*Qte), [Site Facture]))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Mar 2016 15:39:21 GMT</pubDate>
    <dc:creator>sfatoux72</dc:creator>
    <dc:date>2016-03-02T15:39:21Z</dc:date>
    <item>
      <title>Function IF or IF in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Function-IF-or-IF-in-expression/m-p/1068677#M934293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello i have a problem with my expression "if or if" maybe you can help me :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i try to calculate an expression with this : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if([Site Facture]= 'PX', (CMSPSX*Qte), [Site Facture]) or if([Site Facture]= 'FV', (CMSFV*Qte), [Site Facture])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but my results is "-1" and i don't know why.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe you can help me ?&lt;/P&gt;&lt;P&gt;I have join an exemple of my problem &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 08:35:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Function-IF-or-IF-in-expression/m-p/1068677#M934293</guid>
      <dc:creator />
      <dc:date>2016-03-02T08:35:45Z</dc:date>
    </item>
    <item>
      <title>Re: Function IF or IF in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Function-IF-or-IF-in-expression/m-p/1068678#M934294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(Match([Site Facture], 'PX', 'FV'), (CMSPSX*Qte), [Site Facture])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 15:37:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Function-IF-or-IF-in-expression/m-p/1068678#M934294</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-02T15:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: Function IF or IF in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Function-IF-or-IF-in-expression/m-p/1068679#M934295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rangesum(if([Site Facture]= 'PX', (CMSPSX*Qte), [Site Facture]), if([Site Facture]= 'FV', (CMSFV*Qte), [Site Facture]))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 15:39:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Function-IF-or-IF-in-expression/m-p/1068679#M934295</guid>
      <dc:creator>sfatoux72</dc:creator>
      <dc:date>2016-03-02T15:39:21Z</dc:date>
    </item>
    <item>
      <title>Re: Function IF or IF in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Function-IF-or-IF-in-expression/m-p/1068680#M934296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have solve my problem with this expression :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If( Site_Facture = 'PX',&lt;/P&gt;&lt;P&gt;sum(CMS*(Qté_Facturé*Coef_UV_US)),&lt;/P&gt;&lt;P&gt;&amp;nbsp; if( Site_Facture = 'FV',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; sum(CMSFV*(Qté_Facturé*Coef_UV_US))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem was the labels, don't working on my function. I have use the full operation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 15:39:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Function-IF-or-IF-in-expression/m-p/1068680#M934296</guid>
      <dc:creator />
      <dc:date>2016-03-02T15:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: Function IF or IF in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Function-IF-or-IF-in-expression/m-p/1068681#M934297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;or simply :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rangesum((CMSPSX*Qte), (CMSFV*Qte))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Rangesum manage null value&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 15:42:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Function-IF-or-IF-in-expression/m-p/1068681#M934297</guid>
      <dc:creator>sfatoux72</dc:creator>
      <dc:date>2016-03-02T15:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: Function IF or IF in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Function-IF-or-IF-in-expression/m-p/1068682#M934298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Or better:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Rangesum(CMSPSX, CMSFV) &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;* Qte&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 16:00:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Function-IF-or-IF-in-expression/m-p/1068682#M934298</guid>
      <dc:creator>sfatoux72</dc:creator>
      <dc:date>2016-03-02T16:00:15Z</dc:date>
    </item>
  </channel>
</rss>

