<?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: IF statement changed to set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/IF-statement-changed-to-set-analysis/m-p/914671#M983454</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;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;sum({&amp;lt;pricing_invoice_dated_year={'$(=vyear1)'},&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;pricing_invoice_CustNo={"=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;pricing_invoice_CustNo=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;pricing_CustNo&lt;/SPAN&gt;&lt;/SPAN&gt;"}&lt;/SPAN&gt;&amp;gt;} &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;pricing_invoice_val)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Aug 2015 07:54:36 GMT</pubDate>
    <dc:creator>Kushal_Chawda</dc:creator>
    <dc:date>2015-08-07T07:54:36Z</dc:date>
    <item>
      <title>IF statement changed to set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/IF-statement-changed-to-set-analysis/m-p/914670#M983453</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 have an expression which takes ages to calculate and 9 times out of 10 even times out "Calculation timed out"...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression is this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;pricing_invoice_dated_year={$(vyear1)}&amp;gt;} if(pricing_invoice_CustNo = pricing_CustNo,pricing_invoice_val)) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can this be changed to set analysis somehow to speed this up?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 07:51:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-statement-changed-to-set-analysis/m-p/914670#M983453</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-07T07:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement changed to set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/IF-statement-changed-to-set-analysis/m-p/914671#M983454</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;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;sum({&amp;lt;pricing_invoice_dated_year={'$(=vyear1)'},&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;pricing_invoice_CustNo={"=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;pricing_invoice_CustNo=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;pricing_CustNo&lt;/SPAN&gt;&lt;/SPAN&gt;"}&lt;/SPAN&gt;&amp;gt;} &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;pricing_invoice_val)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 07:54:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-statement-changed-to-set-analysis/m-p/914671#M983454</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2015-08-07T07:54:36Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement changed to set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/IF-statement-changed-to-set-analysis/m-p/914672#M983455</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;sum({&amp;lt;pricing_invoice_dated_year={$(vyear1)}, pricing_invoice_CustNo=pricing_CustNo&amp;gt;} pricing_invoice_val)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 07:56:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-statement-changed-to-set-analysis/m-p/914672#M983455</guid>
      <dc:creator>ogster1974</dc:creator>
      <dc:date>2015-08-07T07:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement changed to set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/IF-statement-changed-to-set-analysis/m-p/914673#M983456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there any chance that &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;pricing_invoice_CustNo and pricing_CustNo are getting accessed from two different tables in the application? If that is the case, I don't think Set Analysis will be much helpful.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 07:58:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-statement-changed-to-set-analysis/m-p/914673#M983456</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-08-07T07:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement changed to set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/IF-statement-changed-to-set-analysis/m-p/914674#M983457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jamel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the best way to do this I would suggest, is to create a flag field in your script which you can then use in your set analysis expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load&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;if(pricing_invoice_CustNo = pricing_CustNo&lt;/SPAN&gt; ,1) As CustNumberMatchFlag&lt;/P&gt;&lt;P&gt;from ......&lt;/P&gt;&lt;P&gt;(your load script here)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then your expression becomes&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;sum({&amp;lt;pricing_invoice_dated_year={$(vyear1)}, &lt;SPAN style="font-size: 13.3333330154419px;"&gt;CustNumberMatchFlag={1} &lt;/SPAN&gt;&amp;gt;} pricing_invoice_val)&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;hope that helps&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;Joe&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 08:02:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-statement-changed-to-set-analysis/m-p/914674#M983457</guid>
      <dc:creator />
      <dc:date>2015-08-07T08:02:46Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement changed to set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/IF-statement-changed-to-set-analysis/m-p/914675#M983458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes they are from two different tables.&amp;nbsp; I can't join them as I create a loop in my structure so I'm having to get around this by using this IF statement..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 08:12:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-statement-changed-to-set-analysis/m-p/914675#M983458</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-07T08:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement changed to set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/IF-statement-changed-to-set-analysis/m-p/914676#M983459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To tell you the truth, I know this is an issue when you have fields from two different tables (which can cause a Cartesian product), but I have never been able to handle it. Always had to look for a work around. I won't be able to recommend a a work around before looking at the application, but since I don't have a licensed version of QlikView I won't be able to open if you share something.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I am sure other experts will def. be able to help you out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 08:19:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-statement-changed-to-set-analysis/m-p/914676#M983459</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-08-07T08:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement changed to set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/IF-statement-changed-to-set-analysis/m-p/914677#M983460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny.&amp;nbsp; If anyone else can offer any advice/suggestions that would be brilliant!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks guys&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 09:11:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-statement-changed-to-set-analysis/m-p/914677#M983460</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-07T09:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement changed to set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/IF-statement-changed-to-set-analysis/m-p/914678#M983461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tried this expression but I am getting a syntax issue (screenshot below)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/95327_Capture.PNG" style="height: 28px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 09:19:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-statement-changed-to-set-analysis/m-p/914678#M983461</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-07T09:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement changed to set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/IF-statement-changed-to-set-analysis/m-p/914679#M983462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jamal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest you try:&lt;/P&gt;&lt;P&gt;if(pricing_invoice_CustNo = pricing_CustNo,pricing_invoice_val),sum({&amp;lt;pricing_invoice_dated_year={$(vyear1)}&amp;gt;}),0) and if there is still the same issue, I would suggest you use Joe Simmons suggestion of having a flag.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is always best to let the back-end script do all the heavy lifting calculations for you instead of set analysis as having huge calculations slows down the application&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 09:20:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-statement-changed-to-set-analysis/m-p/914679#M983462</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-07T09:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement changed to set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/IF-statement-changed-to-set-analysis/m-p/914680#M983463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is I can't do it in the load script because the fields &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;pricing_invoice_CustNo&lt;/STRONG&gt; and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;pricing_CustNo&lt;/STRONG&gt; are from different tables.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Unless I am wrong here and you can do it?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 09:34:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-statement-changed-to-set-analysis/m-p/914680#M983463</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-07T09:34:56Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement changed to set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/IF-statement-changed-to-set-analysis/m-p/914681#M983464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It can be done, but again you run into the issue of creating a Cartesian Product between two tables. You can explore the option of using Mapping Load where you bring only one field from one table into the other without worrying about the Cartesian product&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 09:37:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-statement-changed-to-set-analysis/m-p/914681#M983464</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-08-07T09:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement changed to set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/IF-statement-changed-to-set-analysis/m-p/914682#M983465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am getting a syntax issue on this expression as well?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/95328_Capture.PNG" style="height: 39px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 09:37:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-statement-changed-to-set-analysis/m-p/914682#M983465</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-07T09:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement changed to set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/IF-statement-changed-to-set-analysis/m-p/914683#M983466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; &lt;A href="https://community.qlik.com/qlik-users/157943"&gt;Mel_Mesaoud&lt;/A&gt;&amp;nbsp;&amp;nbsp; have you tried what i had suggested?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 09:42:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-statement-changed-to-set-analysis/m-p/914683#M983466</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2015-08-07T09:42:34Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement changed to set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/IF-statement-changed-to-set-analysis/m-p/914684#M983467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kush,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did try it but the value is zero &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/95329_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 09:46:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-statement-changed-to-set-analysis/m-p/914684#M983467</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-07T09:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement changed to set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/IF-statement-changed-to-set-analysis/m-p/914685#M983468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;sum({&amp;lt;pricing_invoice_dated_year={$(vyear1)}, pricing_invoice_CustNo=p(pricing_CustNo)&amp;gt;} pricing_invoice_val)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use this approach when wiring my master calendar up to various dates within my model.&amp;nbsp; It seems to work for me although your use case may be different.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Perhaps need to AGGR your data aswell to bring back what you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AGGR(SUM({&amp;lt;pricing_invoice_dated_year={$(vyear1)}, pricing_invoice_CustNo=p(pricing_CustNo)&amp;gt;} pricing_invoice_val) pricing_invoice_CustNo)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 10:00:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-statement-changed-to-set-analysis/m-p/914685#M983468</guid>
      <dc:creator>ogster1974</dc:creator>
      <dc:date>2015-08-07T10:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement changed to set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/IF-statement-changed-to-set-analysis/m-p/914686#M983469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;do you get the results quickly if you just did sum({&amp;lt;pricing_invoice_dated_year={$(vyear1)}&amp;gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 10:45:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-statement-changed-to-set-analysis/m-p/914686#M983469</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2015-08-07T10:45:33Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement changed to set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/IF-statement-changed-to-set-analysis/m-p/914687#M983470</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;Have you managed to solve your problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sasi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2015 20:10:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-statement-changed-to-set-analysis/m-p/914687#M983470</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2015-08-10T20:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement changed to set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/IF-statement-changed-to-set-analysis/m-p/914688#M983471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI &lt;STRONG style="font-size: 11.6999998092651px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/Mel_Mesaoud"&gt;Mel_Mesaoud&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Can you attach the sample file to demonstrate your issue? Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2015 01:28:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-statement-changed-to-set-analysis/m-p/914688#M983471</guid>
      <dc:creator>qlikviewwizard</dc:creator>
      <dc:date>2015-08-11T01:28:01Z</dc:date>
    </item>
  </channel>
</rss>

