<?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: Can we use If and sum statment in same expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Can-we-use-If-and-sum-statment-in-same-expression/m-p/969290#M976415</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this Expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;([Entry Pages]-={'adsk:en:home','adsk:en_gb:404'}&amp;gt;}Visits)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Sep 2015 15:13:19 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-09-03T15:13:19Z</dc:date>
    <item>
      <title>Can we use If and sum statment in same expression</title>
      <link>https://community.qlik.com/t5/QlikView/Can-we-use-If-and-sum-statment-in-same-expression/m-p/969289#M976414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Can we use &lt;STRONG&gt;If&lt;/STRONG&gt; and &lt;STRONG&gt;sum&lt;/STRONG&gt; statment in same expression.I am trying to calculate the belwo expression into single statment but unable to achive the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimenssion:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if([Entry Pages] &amp;lt;&amp;gt;'adsk:en:home' and [Entry Pages] &amp;lt;&amp;gt;'adsk:en_gb:404',[Entry Pages],Null())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum(Visits)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I will use only =sum(Visits) then it will give me the sum of value&amp;nbsp; along with Junk character.&lt;/P&gt;&lt;P&gt;But I don't want Junk character in my calculation so I used the belwo set analysis in dimenssion&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;=if([Entry Pages] &amp;lt;&amp;gt;'adsk:en:home' and [Entry Pages] &amp;lt;&amp;gt;'adsk:en_gb:404',[Entry Pages],Null())&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;But I want to handle the both set analysis calculation in single expression.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;KK&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;A href="https://community.qlik.com/qlik-users/120618"&gt;MRKachhiaIMP&lt;/A&gt;‌&lt;A href="https://community.qlik.com/qlik-users/23109"&gt;jagan&lt;/A&gt;‌&lt;A href="https://community.qlik.com/qlik-users/96544"&gt;gwassenaar&lt;/A&gt;‌&lt;A href="https://community.qlik.com/qlik-users/57428"&gt;Kush141087&lt;/A&gt;‌&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Sep 2015 15:11:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-we-use-If-and-sum-statment-in-same-expression/m-p/969289#M976414</guid>
      <dc:creator>Karim_Khan</dc:creator>
      <dc:date>2015-09-03T15:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: Can we use If and sum statment in same expression</title>
      <link>https://community.qlik.com/t5/QlikView/Can-we-use-If-and-sum-statment-in-same-expression/m-p/969290#M976415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this Expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;([Entry Pages]-={'adsk:en:home','adsk:en_gb:404'}&amp;gt;}Visits)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Sep 2015 15:13:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-we-use-If-and-sum-statment-in-same-expression/m-p/969290#M976415</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-03T15:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: Can we use If and sum statment in same expression</title>
      <link>https://community.qlik.com/t5/QlikView/Can-we-use-If-and-sum-statment-in-same-expression/m-p/969291#M976416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The logig shoul be something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(If(cond=true, MyField, 0))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Sep 2015 15:14:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-we-use-If-and-sum-statment-in-same-expression/m-p/969291#M976416</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2015-09-03T15:14:12Z</dc:date>
    </item>
    <item>
      <title>Re: Can we use If and sum statment in same expression</title>
      <link>https://community.qlik.com/t5/QlikView/Can-we-use-If-and-sum-statment-in-same-expression/m-p/969292#M976417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you should just be able to do:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Sum(&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if([Entry Pages] &amp;lt;&amp;gt;'adsk:en:home' and [Entry Pages] &amp;lt;&amp;gt;'adsk:en_gb:404',[Entry Pages] )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Also, this is not set analysis. Just IF logic. &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Sep 2015 15:14:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-we-use-If-and-sum-statment-in-same-expression/m-p/969292#M976417</guid>
      <dc:creator>cspencer3</dc:creator>
      <dc:date>2015-09-03T15:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: Can we use If and sum statment in same expression</title>
      <link>https://community.qlik.com/t5/QlikView/Can-we-use-If-and-sum-statment-in-same-expression/m-p/969293#M976418</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;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;=Count({&amp;lt;[Entry Pages] -= {'adsk:en:home', 'adsk:en_gb:404'}&amp;gt;} Distinct Visits)&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: 13.3333330154419px;"&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: 13.3333330154419px;"&gt;Hope this helps you.&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: 13.3333330154419px;"&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: 13.3333330154419px;"&gt;Regards,&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: 13.3333330154419px;"&gt;Jagan.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Sep 2015 15:25:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-we-use-If-and-sum-statment-in-same-expression/m-p/969293#M976418</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-09-03T15:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: Can we use If and sum statment in same expression</title>
      <link>https://community.qlik.com/t5/QlikView/Can-we-use-If-and-sum-statment-in-same-expression/m-p/969294#M976419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tnx a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Sep 2015 15:37:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-we-use-If-and-sum-statment-in-same-expression/m-p/969294#M976419</guid>
      <dc:creator>Karim_Khan</dc:creator>
      <dc:date>2015-09-03T15:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: Can we use If and sum statment in same expression</title>
      <link>https://community.qlik.com/t5/QlikView/Can-we-use-If-and-sum-statment-in-same-expression/m-p/969295#M976420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Tnx a lot&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Sep 2015 15:37:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-we-use-If-and-sum-statment-in-same-expression/m-p/969295#M976420</guid>
      <dc:creator>Karim_Khan</dc:creator>
      <dc:date>2015-09-03T15:37:21Z</dc:date>
    </item>
  </channel>
</rss>

