<?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: Set analysis - help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-help/m-p/1013965#M931238</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Christian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you are looking for listed below expressions, please check and use according to your requirements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Expression 1:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;--&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;=if(Count(DISTINCT{$&amp;lt;InnbetalingsStatus={'Har innbetalt'}&amp;gt;} AKTORID_FS_LOPENR) &amp;gt; 0, Avg([#ReskontroInnbetaltBeløp])) * (-1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Expression 2:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;=if(Count(DISTINCT{$&amp;lt;InnbetalingsStatus={'Har innbetalt'}&amp;gt;} AKTORID_FS_LOPENR) &amp;gt; 0, Avg([#ReskontroInnbetaltBeløp])) - 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Expression 3:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;=if(Count(DISTINCT{$&amp;lt;InnbetalingsStatus={'Har innbetalt'}&amp;gt;} AKTORID_FS_LOPENR) &amp;gt; 0, Sum([#ReskontroInnbetaltBeløp])) * (-1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Expression 4:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;=if(Count(DISTINCT{$&amp;lt;InnbetalingsStatus={'Har innbetalt'}&amp;gt;} AKTORID_FS_LOPENR) &amp;gt; 0, Sum([#ReskontroInnbetaltBeløp])) - 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Ishfaque Ahmed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Mar 2016 05:42:51 GMT</pubDate>
    <dc:creator>engishfaque</dc:creator>
    <dc:date>2016-03-08T05:42:51Z</dc:date>
    <item>
      <title>Set analysis - help</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-help/m-p/1013963#M931236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know how to use the "if statement" correctly in the statement below?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;STRONG style=": ; color: #ff0000; font-size: 8pt;"&gt;(&lt;/STRONG&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;{$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;InnbetalingsStatus&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'Har innbetalt'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;AKTORID_FS_LOPENR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) Avg(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[#ReskontroInnbetaltBeløp]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)*-1 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to see the average contribution (sum of all payments - (&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[#ReskontroInnbetaltBeløp&lt;SPAN style="color: #800000;"&gt;]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)*-1) &lt;SPAN style="color: #808080; font-size: 10pt;"&gt;of all donors that has made at least one payment (&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;InnbetalingsStatus&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'Har innbetalt'&lt;/SPAN&gt;).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-help/m-p/1013963#M931236</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis - help</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-help/m-p/1013964#M931237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you not get the exact column details , could you please explain it with the sample data &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2016 12:30:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-help/m-p/1013964#M931237</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2016-03-07T12:30:17Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis - help</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-help/m-p/1013965#M931238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Christian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you are looking for listed below expressions, please check and use according to your requirements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Expression 1:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;--&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;=if(Count(DISTINCT{$&amp;lt;InnbetalingsStatus={'Har innbetalt'}&amp;gt;} AKTORID_FS_LOPENR) &amp;gt; 0, Avg([#ReskontroInnbetaltBeløp])) * (-1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Expression 2:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;=if(Count(DISTINCT{$&amp;lt;InnbetalingsStatus={'Har innbetalt'}&amp;gt;} AKTORID_FS_LOPENR) &amp;gt; 0, Avg([#ReskontroInnbetaltBeløp])) - 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Expression 3:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;=if(Count(DISTINCT{$&amp;lt;InnbetalingsStatus={'Har innbetalt'}&amp;gt;} AKTORID_FS_LOPENR) &amp;gt; 0, Sum([#ReskontroInnbetaltBeløp])) * (-1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Expression 4:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;=if(Count(DISTINCT{$&amp;lt;InnbetalingsStatus={'Har innbetalt'}&amp;gt;} AKTORID_FS_LOPENR) &amp;gt; 0, Sum([#ReskontroInnbetaltBeløp])) - 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Ishfaque Ahmed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2016 05:42:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-help/m-p/1013965#M931238</guid>
      <dc:creator>engishfaque</dc:creator>
      <dc:date>2016-03-08T05:42:51Z</dc:date>
    </item>
  </channel>
</rss>

