<?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: Trouble with Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Trouble-with-Set-Analysis/m-p/1028812#M347531</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please provide sample data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Mar 2016 07:39:53 GMT</pubDate>
    <dc:creator>amayuresh</dc:creator>
    <dc:date>2016-03-21T07:39:53Z</dc:date>
    <item>
      <title>Trouble with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Trouble-with-Set-Analysis/m-p/1028810#M347529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to sum the total of parts cost * Qty on hand if the part has not had any movement in Sales_8_Months AND has not been received in the last 8 months. I have the set analysis statement I have been working with and it works on most of the part number but not this one. Any help would be much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;Sales_8_Months={"&amp;lt;=0"},PART_RECEIVED_MMonth={"&amp;lt;=$(=Date(AddMonths(Max(PART_RECEIVED_MMonth),-8),'MMM-YY'))"}&amp;gt;}[Part cost - PMPCST]*[Quantity on hand - PMQONH])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Mar 2016 20:07:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trouble-with-Set-Analysis/m-p/1028810#M347529</guid>
      <dc:creator />
      <dc:date>2016-03-18T20:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Trouble-with-Set-Analysis/m-p/1028811#M347530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Correction. It is now calculating but when I click on the part number in straight table the amount disappears. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Mar 2016 20:10:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trouble-with-Set-Analysis/m-p/1028811#M347530</guid>
      <dc:creator />
      <dc:date>2016-03-18T20:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Trouble-with-Set-Analysis/m-p/1028812#M347531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please provide sample data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Mar 2016 07:39:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trouble-with-Set-Analysis/m-p/1028812#M347531</guid>
      <dc:creator>amayuresh</dc:creator>
      <dc:date>2016-03-21T07:39:53Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Trouble-with-Set-Analysis/m-p/1028813#M347532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My set analysis is working if I do not select the part number. When I select the part number to show only that part number the set analysis No Movement 9 Months zeros out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is where the No Movement 8 Months is showing correctly.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/118804_Capture.PNG" style="height: 44px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is when I select 5161419 part number it zeros out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture1.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/118814_Capture1.PNG" style="height: 38px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the set analysis expression I am using. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({$&amp;lt;Sales_8_Months={"0"},PART_RECEIVED_MMonth={"&amp;lt;=$(=Date(AddMonths(Max(PART_RECEIVED_MMonth),-9),'MMM-YY'))"}&amp;gt;}[Part cost - PMPCST]*[Quantity on hand - PMQONH])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Mar 2016 14:17:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trouble-with-Set-Analysis/m-p/1028813#M347532</guid>
      <dc:creator />
      <dc:date>2016-03-21T14:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Trouble-with-Set-Analysis/m-p/1028814#M347533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not 100% certain, but can you 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;&lt;STRONG&gt;=Sum({$&amp;lt;Sales_8_Months={"0"},PART_RECEIVED_MMonth={"&amp;lt;=$(=Date(AddMonths(Max(&lt;SPAN style="color: #ff0000;"&gt;{&amp;lt;[Part #]&amp;gt;}&lt;/SPAN&gt;PART_RECEIVED_MMonth),-9),'MMM-YY'))"}&amp;gt;}[Part cost - PMPCST]*[Quantity on hand - PMQONH])&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Mar 2016 15:32:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trouble-with-Set-Analysis/m-p/1028814#M347533</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-21T15:32:58Z</dc:date>
    </item>
  </channel>
</rss>

