<?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 issue in pivot table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/set-analysis-issue-in-pivot-table/m-p/774056#M274593</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;While defining the variable, put '=' sign at the beginning and try.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Feb 2015 05:55:05 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2015-02-10T05:55:05Z</dc:date>
    <item>
      <title>set analysis issue in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-issue-in-pivot-table/m-p/774055#M274592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG __jive_id="77490" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/77490_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;In the above table max and min are the fields containing the maximum and minimum savings percentage per CM/ODM&lt;/P&gt;&lt;P&gt;and used the following expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;QuarterYear={$(vCurrentQuarter), $(vLastQuarter1), $(vLastQuarter2), $(vLastQuarter3)}&amp;gt;}[CPN Savings])&lt;/P&gt;&lt;P&gt;&amp;nbsp; /&lt;/P&gt;&lt;P&gt;&amp;nbsp; Sum({&amp;lt;QuarterYear={$(vCurrentQuarter), $(vLastQuarter1), $(vLastQuarter2), $(vLastQuarter3)}&amp;gt;}Spend)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Requirement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually I want to have a variable where it is the difference of&amp;nbsp; maxiumum and minimum percentages, let us say vCM/ODM&lt;/P&gt;&lt;P&gt;I created a variable by using max(above expression) - min(above expression) and it is giving me correct value 25% in a text box,&lt;/P&gt;&lt;P&gt;my concern is I want to use this variable in the pivot table for savingsopportunity field as savings$* $(vCM/ODM),&lt;/P&gt;&lt;P&gt;what I found is the variable value became 0%.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the variable formula is taking dimension into consideration . how to get minimum and maximum percentages in the variable even if I use it in pivot table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 05:46:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-issue-in-pivot-table/m-p/774055#M274592</guid>
      <dc:creator>kkkumar82</dc:creator>
      <dc:date>2015-02-10T05:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis issue in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-issue-in-pivot-table/m-p/774056#M274593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;While defining the variable, put '=' sign at the beginning and try.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 05:55:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-issue-in-pivot-table/m-p/774056#M274593</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2015-02-10T05:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis issue in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-issue-in-pivot-table/m-p/774057#M274594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kiran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per my knowledge the variables wont act according to the dimension, the issue is with some thing else.&lt;/P&gt;&lt;P&gt;Please post your app, lets have a check &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 06:34:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-issue-in-pivot-table/m-p/774057#M274594</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2015-02-10T06:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis issue in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-issue-in-pivot-table/m-p/774058#M274595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have attached a qvw file for references&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 06:55:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-issue-in-pivot-table/m-p/774058#M274595</guid>
      <dc:creator>kkkumar82</dc:creator>
      <dc:date>2015-02-10T06:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis issue in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-issue-in-pivot-table/m-p/774059#M274596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kiran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue is not with the variable what you have created, the issue is with the number format which you set in the number tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the attachment for the solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 07:11:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-issue-in-pivot-table/m-p/774059#M274596</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2015-02-10T07:11:35Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis issue in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-issue-in-pivot-table/m-p/774060#M274597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I got that but what I want is I want difference of maximum and minimum savings percentage ie 0.72 - 0.57 = 0.25&lt;/P&gt;&lt;P&gt;but have u observed that the seavings opportunity is showing different values when we take it in the table, &lt;/P&gt;&lt;P&gt;when we are taking it in text box it is showing correct value , if we can get it , I have to calculate the actual opportunity ie savings * variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or can u try this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to get 0.72% in max and 0.47% in min columns for all CM/ODMs. because u can see combo graphs in the qvw to find the min and max %s.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 07:29:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-issue-in-pivot-table/m-p/774060#M274597</guid>
      <dc:creator>kkkumar82</dc:creator>
      <dc:date>2015-02-10T07:29:02Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis issue in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-issue-in-pivot-table/m-p/774061#M274598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hi all,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Finally got how to prevent Dimension effect on the expression, created the variable with the following formulas subtraction.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Just need to add &lt;STRONG&gt;TOTAL &lt;/STRONG&gt;qualifier(after knowing every thing is easy....)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;max(&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;TOTAL&lt;/STRONG&gt; aggr(Sum({&amp;lt;QuarterYear={$(vCurrentQuarter), $(vLastQuarter1), $(vLastQuarter2), $(vLastQuarter3)}&amp;gt;}[CPN Savings])&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum({&amp;lt;QuarterYear={$(vCurrentQuarter), $(vLastQuarter1), $(vLastQuarter2), $(vLastQuarter3)}&amp;gt;}Spend),[CM/ODM]))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Min:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;min(&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;TOTAL&lt;/STRONG&gt; aggr(Sum({&amp;lt;QuarterYear={$(vCurrentQuarter), $(vLastQuarter1), $(vLastQuarter2), $(vLastQuarter3)}&amp;gt;}[CPN Savings])&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum({&amp;lt;QuarterYear={$(vCurrentQuarter), $(vLastQuarter1), $(vLastQuarter2), $(vLastQuarter3)}&amp;gt;}Spend),[CM/ODM]))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 09:12:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-issue-in-pivot-table/m-p/774061#M274598</guid>
      <dc:creator>kkkumar82</dc:creator>
      <dc:date>2015-02-10T09:12:36Z</dc:date>
    </item>
  </channel>
</rss>

