<?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: Previous Month in Pivot Expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Previous-Month-in-Pivot-Expression/m-p/1762268#M718085</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have charts where i use something like this&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;[CAL.MonthStart] = {'$(vPriorMonthStart)'}, CAL.Year=, CAL.YearMonth=, CAL.YearWeek&amp;gt;}Value)&lt;/P&gt;&lt;P&gt;where PriorMontStart points to the previous month based on the user selection.&lt;/P&gt;&lt;P&gt;This works in every chart. If i put this epxression into a pivot table the pivot Table will expand to the previous month + current month. It will only show the previous month expression result in actual the previous month ( i understand this logic).&lt;/P&gt;&lt;P&gt;If i expand the epression with TOTAL&lt;/P&gt;&lt;P&gt;Sum(TOTAL{&amp;lt;[CAL.MonthStart] = {'$(vPriorMonthStart)'}, CAL.Year=, CAL.YearMonth=, CAL.YearWeek&amp;gt;}Value)&lt;/P&gt;&lt;P&gt;The pivot table will only show the Subtotal from the previous Month in every daily Cell of the currernt selected month. But i would like to see the amount for every single day + the correct subtotal&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Murlimes&lt;/P&gt;</description>
    <pubDate>Tue, 17 Nov 2020 14:04:00 GMT</pubDate>
    <dc:creator>Murlimes</dc:creator>
    <dc:date>2020-11-17T14:04:00Z</dc:date>
    <item>
      <title>Previous Month in Pivot Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Month-in-Pivot-Expression/m-p/1762156#M718082</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;whats the proper way to make an expression for the previous month in an pivot, without showing the previous month in the the Pivot dimension?&lt;/P&gt;&lt;P&gt;I can do it in a Chart with a VpreviousMonth Variable, but if i convert that Chart/expression into a pivot table, it doesnt work.&lt;/P&gt;&lt;P&gt;The Pivot will expand to both months and the previous month Expression will actually only be shown in the Dimension of the previous Month, but i want the expression to be in the actual selected month.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2020 18:58:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Month-in-Pivot-Expression/m-p/1762156#M718082</guid>
      <dc:creator>Murlimes</dc:creator>
      <dc:date>2020-11-20T18:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Month in Pivot Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Month-in-Pivot-Expression/m-p/1762160#M718083</link>
      <description>&lt;P&gt;just tried adding TOTAL and it seems to work, but it only shows now the previous&amp;nbsp; month Subtotal at every day.&amp;nbsp; (at least its the correct value)&lt;/P&gt;&lt;P&gt;I would still need to have the correct value for every single day and the correct value for the subtotal month.&lt;/P&gt;&lt;P&gt;I assume this has to be solved with an aggr function in some way like aggr(sum(total(&amp;lt;previousM&amp;gt;),Day))) but somehow i cant get it work, it will always show the subtotal of the previous month , in every single cell.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 08:50:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Month-in-Pivot-Expression/m-p/1762160#M718083</guid>
      <dc:creator>Murlimes</dc:creator>
      <dc:date>2020-11-17T08:50:12Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Month in Pivot Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Month-in-Pivot-Expression/m-p/1762173#M718084</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/129383"&gt;@Murlimes&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you provide sample with ur scenario?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 09:22:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Month-in-Pivot-Expression/m-p/1762173#M718084</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2020-11-17T09:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Month in Pivot Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Month-in-Pivot-Expression/m-p/1762268#M718085</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have charts where i use something like this&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;[CAL.MonthStart] = {'$(vPriorMonthStart)'}, CAL.Year=, CAL.YearMonth=, CAL.YearWeek&amp;gt;}Value)&lt;/P&gt;&lt;P&gt;where PriorMontStart points to the previous month based on the user selection.&lt;/P&gt;&lt;P&gt;This works in every chart. If i put this epxression into a pivot table the pivot Table will expand to the previous month + current month. It will only show the previous month expression result in actual the previous month ( i understand this logic).&lt;/P&gt;&lt;P&gt;If i expand the epression with TOTAL&lt;/P&gt;&lt;P&gt;Sum(TOTAL{&amp;lt;[CAL.MonthStart] = {'$(vPriorMonthStart)'}, CAL.Year=, CAL.YearMonth=, CAL.YearWeek&amp;gt;}Value)&lt;/P&gt;&lt;P&gt;The pivot table will only show the Subtotal from the previous Month in every daily Cell of the currernt selected month. But i would like to see the amount for every single day + the correct subtotal&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Murlimes&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 14:04:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Month-in-Pivot-Expression/m-p/1762268#M718085</guid>
      <dc:creator>Murlimes</dc:creator>
      <dc:date>2020-11-17T14:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Month in Pivot Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Month-in-Pivot-Expression/m-p/1762318#M718086</link>
      <description>&lt;P&gt;Im not&amp;nbsp; sure try this.&lt;/P&gt;&lt;P&gt;Expression&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sum(TOTAL{&amp;lt;[CAL.MonthStart]= {'$(=$(vPriorMonthStart))'}, CAL.Year=, CAL.YearMonth=, CAL.YearWeek&amp;gt;}Value)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 16:05:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Month-in-Pivot-Expression/m-p/1762318#M718086</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2020-11-17T16:05:59Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Month in Pivot Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Month-in-Pivot-Expression/m-p/1762523#M718087</link>
      <description>&lt;P&gt;This is will show the subtotal of the previous month in every cell (day)&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 10:38:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Month-in-Pivot-Expression/m-p/1762523#M718087</guid>
      <dc:creator>Murlimes</dc:creator>
      <dc:date>2020-11-18T10:38:59Z</dc:date>
    </item>
  </channel>
</rss>

