<?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 Complex set analysis within a if statement........ in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Complex-set-analysis-within-a-if-statement/m-p/1366434#M825214</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm doing a set analysis within an If statement, It works perfect when i select one value from a list box and it shows it perfect in a single row, but when i wanna see all the values, they have the same value as the result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help, top of your head?&amp;nbsp; I know i'll probable need to show some data and what I've done, I'm working on a dummy data demo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And long time no chat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Complex set analysis within a if statement........</title>
      <link>https://community.qlik.com/t5/QlikView/Complex-set-analysis-within-a-if-statement/m-p/1366434#M825214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm doing a set analysis within an If statement, It works perfect when i select one value from a list box and it shows it perfect in a single row, but when i wanna see all the values, they have the same value as the result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help, top of your head?&amp;nbsp; I know i'll probable need to show some data and what I've done, I'm working on a dummy data demo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And long time no chat.&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/Complex-set-analysis-within-a-if-statement/m-p/1366434#M825214</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Complex set analysis within a if statement........</title>
      <link>https://community.qlik.com/t5/QlikView/Complex-set-analysis-within-a-if-statement/m-p/1366435#M825215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're going to need to provide some more information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the actual expression that you are having issues with?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jul 2017 16:04:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complex-set-analysis-within-a-if-statement/m-p/1366435#M825215</guid>
      <dc:creator>oscar_ortiz</dc:creator>
      <dc:date>2017-07-11T16:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: Complex set analysis within a if statement........</title>
      <link>https://community.qlik.com/t5/QlikView/Complex-set-analysis-within-a-if-statement/m-p/1366436#M825216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like strange issue. What is the condition and where do you use ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jul 2017 16:04:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complex-set-analysis-within-a-if-statement/m-p/1366436#M825216</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-07-11T16:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: Complex set analysis within a if statement........</title>
      <link>https://community.qlik.com/t5/QlikView/Complex-set-analysis-within-a-if-statement/m-p/1366437#M825217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or if i do it this way, it shows me the value if below "0" , I want it to show me 0, if below and the value if higher than 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if((sum({&amp;lt;VER={"OPEN"}&amp;gt;}EPRC)&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;sum({&amp;lt;VER={"ACT"}&amp;gt;}EPRC)&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;sum({&amp;lt;VER={"OPEN"}&amp;gt;}EPRC)&amp;lt;0),'0',sum({&amp;lt;VER={"OPEN"}&amp;gt;}EPRC)&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;sum({&amp;lt;VER={"ACT"}&amp;gt;}EPRC)&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;sum({&amp;lt;VER={"PLAN"}&amp;gt;}EPRC))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jul 2017 16:07:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complex-set-analysis-within-a-if-statement/m-p/1366437#M825217</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-11T16:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: Complex set analysis within a if statement........</title>
      <link>https://community.qlik.com/t5/QlikView/Complex-set-analysis-within-a-if-statement/m-p/1366438#M825218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's what I was afraid of lol.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jul 2017 16:07:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complex-set-analysis-within-a-if-statement/m-p/1366438#M825218</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-11T16:07:35Z</dc:date>
    </item>
    <item>
      <title>Re: Complex set analysis within a if statement........</title>
      <link>https://community.qlik.com/t5/QlikView/Complex-set-analysis-within-a-if-statement/m-p/1366439#M825219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pivot table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jul 2017 16:08:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complex-set-analysis-within-a-if-statement/m-p/1366439#M825219</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-11T16:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: Complex set analysis within a if statement........</title>
      <link>https://community.qlik.com/t5/QlikView/Complex-set-analysis-within-a-if-statement/m-p/1366440#M825220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this? Looks like mis place the close parenthesis&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;=if((sum({&amp;lt;VER={"OPEN"}&amp;gt;}EPRC) + sum({&amp;lt;VER={"ACT"}&amp;gt;}EPRC) - sum({&amp;lt;VER={"OPEN"}&amp;gt;}EPRC))&amp;lt;0,'0',(sum({&amp;lt;VER={"OPEN"}&amp;gt;}EPRC)+sum({&amp;lt;VER={"ACT"}&amp;gt;}EPRC)-sum({&amp;lt;VER={"PLAN"}&amp;gt;}EPRC))&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;OR&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;(sum({&amp;lt;VER={"OPEN"}, ERPC = {"Sum(ERPC) &amp;lt; 0"}&amp;gt;}EPRC)+sum({&amp;lt;VER={"ACT"}&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;, ERPC = {"Sum(ERPC) &amp;lt; = 0"}&lt;/STRONG&gt;&amp;gt;}EPRC)-sum({&amp;lt;VER={"PLAN"}&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;, ERPC = {"Sum(ERPC) &amp;lt; 0"}&lt;/STRONG&gt;&amp;gt;}EPRC))&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jul 2017 16:12:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complex-set-analysis-within-a-if-statement/m-p/1366440#M825220</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-07-11T16:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: Complex set analysis within a if statement........</title>
      <link>https://community.qlik.com/t5/QlikView/Complex-set-analysis-within-a-if-statement/m-p/1366441#M825221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;None of them worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know it's hard to do without all the data and to see what I've done so far.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jul 2017 16:17:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complex-set-analysis-within-a-if-statement/m-p/1366441#M825221</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-11T16:17:34Z</dc:date>
    </item>
    <item>
      <title>Re: Complex set analysis within a if statement........</title>
      <link>https://community.qlik.com/t5/QlikView/Complex-set-analysis-within-a-if-statement/m-p/1366442#M825222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= if( RangeSum(sum({&amp;lt;VER={"OPEN"}&amp;gt;}EPRC),sum({&amp;lt;VER={"ACT"}&amp;gt;}EPRC)) - sum({&amp;lt;VER={"OPEN"}&amp;gt;}EPRC) &amp;lt; 0, 0,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RangeSum(sum({&amp;lt;VER={"OPEN"}&amp;gt;}EPRC),sum({&amp;lt;VER={"ACT"}&amp;gt;}EPRC)) - sum({&amp;lt;VER={"PLAN"}&amp;gt;}EPRC))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jul 2017 16:26:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complex-set-analysis-within-a-if-statement/m-p/1366442#M825222</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-07-11T16:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: Complex set analysis within a if statement........</title>
      <link>https://community.qlik.com/t5/QlikView/Complex-set-analysis-within-a-if-statement/m-p/1366443#M825223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No,&amp;nbsp; That's giving me the same results as mine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression to = '0' if I've reached my target (), and show the value needed if I haven't reached my target.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jul 2017 16:38:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complex-set-analysis-within-a-if-statement/m-p/1366443#M825223</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-11T16:38:43Z</dc:date>
    </item>
    <item>
      <title>Re: Complex set analysis within a if statement........</title>
      <link>https://community.qlik.com/t5/QlikView/Complex-set-analysis-within-a-if-statement/m-p/1366444#M825224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Time to share some sample data with expected output?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jul 2017 16:52:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complex-set-analysis-within-a-if-statement/m-p/1366444#M825224</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-07-11T16:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: Complex set analysis within a if statement........</title>
      <link>https://community.qlik.com/t5/QlikView/Complex-set-analysis-within-a-if-statement/m-p/1366445#M825225</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 style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;=RangeMax(0, Sum({&amp;lt;VER = {"OPEN", "ACT"}&amp;gt;}EPRC) - Sum({&amp;lt;VER = {"PLAN"}&amp;gt;}EPRC))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jul 2017 16:59:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complex-set-analysis-within-a-if-statement/m-p/1366445#M825225</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-07-11T16:59:34Z</dc:date>
    </item>
    <item>
      <title>Re: Complex set analysis within a if statement........</title>
      <link>https://community.qlik.com/t5/QlikView/Complex-set-analysis-within-a-if-statement/m-p/1366446#M825226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What are you getting when you use this alone?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(sum({&amp;lt;VER={"OPEN"}&amp;gt;}EPRC) + sum({&amp;lt;VER={"ACT"}&amp;gt;}EPRC)) - sum({&amp;lt;VER={"OPEN"}&amp;gt;}EPRC)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jul 2017 05:09:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complex-set-analysis-within-a-if-statement/m-p/1366446#M825226</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-07-12T05:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: Complex set analysis within a if statement........</title>
      <link>https://community.qlik.com/t5/QlikView/Complex-set-analysis-within-a-if-statement/m-p/1366447#M825227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, still didn't work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jul 2017 12:51:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complex-set-analysis-within-a-if-statement/m-p/1366447#M825227</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-12T12:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: Complex set analysis within a if statement........</title>
      <link>https://community.qlik.com/t5/QlikView/Complex-set-analysis-within-a-if-statement/m-p/1366448#M825228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sample would be helpful as others also mentioned &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jul 2017 12:53:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complex-set-analysis-within-a-if-statement/m-p/1366448#M825228</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-07-12T12:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: Complex set analysis within a if statement........</title>
      <link>https://community.qlik.com/t5/QlikView/Complex-set-analysis-within-a-if-statement/m-p/1366449#M825229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, I'll give you something soon Sunny.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jul 2017 13:05:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complex-set-analysis-within-a-if-statement/m-p/1366449#M825229</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-12T13:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: Complex set analysis within a if statement........</title>
      <link>https://community.qlik.com/t5/QlikView/Complex-set-analysis-within-a-if-statement/m-p/1366450#M825230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got it working&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(num(SUM({&amp;lt;VER={$(vPreviousMonth)},YR={$(vCurrentYear)}&amp;gt;}EPRC)/1000,'#,##0')&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;(sum({&amp;lt;VER={"OPEN"}&amp;gt;}EPRC)/1000&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;sum({&amp;lt;VER={"ACT"}&amp;gt;}EPRC)/1000)&amp;lt;0,0,num(SUM({&amp;lt;VER={$(vPreviousMonth)},YR={$(vCurrentYear)}&amp;gt;}EPRC)/1000,'#,##0')&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;(sum({&amp;lt;VER={"OPEN"}&amp;gt;}EPRC)/1000&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;sum({&amp;lt;VER={"ACT"}&amp;gt;}EPRC)/1000))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jul 2017 09:05:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complex-set-analysis-within-a-if-statement/m-p/1366450#M825230</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-13T09:05:07Z</dc:date>
    </item>
  </channel>
</rss>

