<?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 How to pull usage from specific SAP plant for previous months in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-pull-usage-from-specific-SAP-plant-for-previous-months/m-p/92226#M764481</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all;&lt;/P&gt;&lt;P&gt;I have a file with 50 months of usage data, 17 different locations (plants), and over 12k part numbers.&amp;nbsp; I am trying to pull data for previous months.&amp;nbsp; Here is the expression I have written:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;[Plant]={"1010"}&amp;gt;}{&amp;lt;[=[Posting Date.autoCalendar.MonthsAgo]={1}&amp;gt;}[Qty])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using part number 123456 as my test. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I am trying to do here is pull only the usage data from [Plant] "1010" for the previous month, in this case 06-2018.&amp;nbsp; The answer should be is 18 but what I am getting is 69.&amp;nbsp; This total is for all 5 plants that used this part over the previous month.&amp;nbsp; I changed the plant to a plant that did not use the part this previous month but I still arrive at 69 as the answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used the following expression when I am pulling data for all of the months in a line or bar graph:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(sum({$&amp;lt;[FSE/Cust Cons]={"FSE Backpack"}&amp;gt;}[EUR])).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Obviously I just tried to combine both expressions together but somehow I messed it up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any advice would be much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;BR /&gt;Will&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>wschefter</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>How to pull usage from specific SAP plant for previous months</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-pull-usage-from-specific-SAP-plant-for-previous-months/m-p/92226#M764481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all;&lt;/P&gt;&lt;P&gt;I have a file with 50 months of usage data, 17 different locations (plants), and over 12k part numbers.&amp;nbsp; I am trying to pull data for previous months.&amp;nbsp; Here is the expression I have written:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;[Plant]={"1010"}&amp;gt;}{&amp;lt;[=[Posting Date.autoCalendar.MonthsAgo]={1}&amp;gt;}[Qty])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using part number 123456 as my test. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I am trying to do here is pull only the usage data from [Plant] "1010" for the previous month, in this case 06-2018.&amp;nbsp; The answer should be is 18 but what I am getting is 69.&amp;nbsp; This total is for all 5 plants that used this part over the previous month.&amp;nbsp; I changed the plant to a plant that did not use the part this previous month but I still arrive at 69 as the answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used the following expression when I am pulling data for all of the months in a line or bar graph:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(sum({$&amp;lt;[FSE/Cust Cons]={"FSE Backpack"}&amp;gt;}[EUR])).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Obviously I just tried to combine both expressions together but somehow I messed it up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any advice would be much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;BR /&gt;Will&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/How-to-pull-usage-from-specific-SAP-plant-for-previous-months/m-p/92226#M764481</guid>
      <dc:creator>wschefter</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
  </channel>
</rss>

