<?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: Set Analysis in pivot question in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-in-pivot-question/m-p/1760517#M718783</link>
    <description>&lt;P&gt;somewhat in line with what Vegar suggested, but with some preconditions:&lt;BR /&gt;assuming that you have a Month that the user selects to preselect all the DAYS in the month; + have a DAY field which is day(YourDate) - so you can use this in your set analysis.&lt;/P&gt;&lt;P&gt;then in your pivot, use Day as the dimension.&amp;nbsp; for expression, use&lt;BR /&gt;sum(Amount) + sum(total {&amp;lt;Day=15&amp;gt;}Amount)&lt;/P&gt;&lt;P&gt;the first chart shows sum(Amount), 2nd chart shows&amp;nbsp;sum(total {&amp;lt;Day=15&amp;gt;}Amount), 3rd shows the final expression&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="edwin_0-1605062371696.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/43939iC1511DA08FB04D62/image-size/medium?v=v2&amp;amp;px=400" role="button" title="edwin_0-1605062371696.png" alt="edwin_0-1605062371696.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 11 Nov 2020 02:39:58 GMT</pubDate>
    <dc:creator>edwin</dc:creator>
    <dc:date>2020-11-11T02:39:58Z</dc:date>
    <item>
      <title>Set Analysis in pivot question</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-in-pivot-question/m-p/1760435#M718781</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Since i dont know how to explain this comprehensively i just try to give an example which should breakdown my problem in an easy way.&lt;/P&gt;&lt;P&gt;I have Sum(sales) for every day of a month in the actual select month in a pivot table. Now i want to add the sum(sales) of a specific day to every other day in the month. The amount can differ and is only available after its acutally calculated in the pivot table.&lt;/P&gt;&lt;P&gt;i.e. Sum(Sales) for the 15th October is 20. This is caclucalated dynamicly daily and can differ each load. Now i want add this 20 to every other in the month like:&lt;/P&gt;&lt;P&gt;sum(sales)+ sum(sales&amp;lt;15th october&amp;gt;) so if sales on 1st is 10 it would 10+20.&lt;/P&gt;&lt;P&gt;When i use set analysis , the pivot table will ignore the second part of the statement on any other day except the 15th , which seems logical, but how can i write the expression that it adds it to every day nevertheless?&lt;/P&gt;&lt;P&gt;is this possbile in a pivot, or do this need to be addressed in the load statement. I tried different combination of aggr/rangesum, but somehow it never works as intended.&amp;nbsp; In general i want to calculate attrition and&amp;nbsp; therefore want to refer to a specific day by demand around which i would base the other calculations in the pivot&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2020 18:58:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-in-pivot-question/m-p/1760435#M718781</guid>
      <dc:creator>Murlimes</dc:creator>
      <dc:date>2020-11-20T18:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis in pivot question</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-in-pivot-question/m-p/1760467#M718782</link>
      <description>&lt;P&gt;You might be helped by using total in your second sum () like this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;sum(sales)+ sum( &lt;STRONG&gt;TOTAL&lt;/STRONG&gt; &amp;nbsp;sales&amp;lt;15th october&amp;gt;)&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Nov 2020 20:03:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-in-pivot-question/m-p/1760467#M718782</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2020-11-10T20:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis in pivot question</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-in-pivot-question/m-p/1760517#M718783</link>
      <description>&lt;P&gt;somewhat in line with what Vegar suggested, but with some preconditions:&lt;BR /&gt;assuming that you have a Month that the user selects to preselect all the DAYS in the month; + have a DAY field which is day(YourDate) - so you can use this in your set analysis.&lt;/P&gt;&lt;P&gt;then in your pivot, use Day as the dimension.&amp;nbsp; for expression, use&lt;BR /&gt;sum(Amount) + sum(total {&amp;lt;Day=15&amp;gt;}Amount)&lt;/P&gt;&lt;P&gt;the first chart shows sum(Amount), 2nd chart shows&amp;nbsp;sum(total {&amp;lt;Day=15&amp;gt;}Amount), 3rd shows the final expression&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="edwin_0-1605062371696.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/43939iC1511DA08FB04D62/image-size/medium?v=v2&amp;amp;px=400" role="button" title="edwin_0-1605062371696.png" alt="edwin_0-1605062371696.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Nov 2020 02:39:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-in-pivot-question/m-p/1760517#M718783</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2020-11-11T02:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis in pivot question</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-in-pivot-question/m-p/1760546#M718784</link>
      <description>&lt;P&gt;it works, thx a lot guys.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Nov 2020 07:07:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-in-pivot-question/m-p/1760546#M718784</guid>
      <dc:creator>Murlimes</dc:creator>
      <dc:date>2020-11-11T07:07:15Z</dc:date>
    </item>
  </channel>
</rss>

