<?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: Challenge with Pivot Table Total in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Challenge-with-Pivot-Table-Total/m-p/932105#M468498</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Swuehl,&lt;/P&gt;&lt;P&gt;after business test I discovered that in the set analysis I need to find the MAIN_PRODUCT_UPSELL values that are possible from my UPSELL_PRODUCT selection, excluding the possbile values that have not an UPSELL_ID related.&lt;/P&gt;&lt;P&gt;The UPSELL_ID is in the UPSELL_SET table as you can see in the previous example.&lt;/P&gt;&lt;P&gt;I have tried adding UPSELL_ID = {'*'} , UPSELL_ID -= {"=Null()"} but they doesn't work.&lt;/P&gt;&lt;P&gt;Thanks a lot,&lt;/P&gt;&lt;P&gt;Romina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 11 Oct 2015 18:04:32 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-10-11T18:04:32Z</dc:date>
    <item>
      <title>Challenge with Pivot Table Total</title>
      <link>https://community.qlik.com/t5/QlikView/Challenge-with-Pivot-Table-Total/m-p/932097#M468490</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;probably I'm not so expert with Qlikview but I have a big issue in a pivot table to calculate a total when I filter for a dimension.&lt;/P&gt;&lt;P&gt;Following the example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="PIVOT_EXAMPLE.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/97303_PIVOT_EXAMPLE.JPG" style="height: 146px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this example the column 'Product CR' is calculated as :&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; [Qty Upsell]/SUM(TOTAL &amp;lt;MAIN_PRODUCT_UPSELL&amp;gt; {$&amp;lt;ACTION = {"I"}, MAIN_ORDER = {"1"}, WEB_CHANNEL = {"0"}&amp;gt;}QTY)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Final user would like to filter only one upsell product and see the correct 'Product CR'; with the previous formula if I select only one row of upsell , the formula calculates only the total quantity for that upsell product.&lt;/P&gt;&lt;P&gt;It would be appreciate any good solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Romina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 19:28:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Challenge-with-Pivot-Table-Total/m-p/932097#M468490</guid>
      <dc:creator />
      <dc:date>2015-08-28T19:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: Challenge with Pivot Table Total</title>
      <link>https://community.qlik.com/t5/QlikView/Challenge-with-Pivot-Table-Total/m-p/932098#M468491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Qty Upsell]/SUM(TOTAL &amp;lt;MAIN_PRODUCT_UPSELL&amp;gt; {1&amp;lt;ACTION = {"I"}, MAIN_ORDER = {"1"}, WEB_CHANNEL = {"0"}&amp;gt;}QTY)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;using set identifier 1 or&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Qty Upsell]/SUM(TOTAL &amp;lt;MAIN_PRODUCT_UPSELL&amp;gt; {$&amp;lt;ACTION = {"I"}, MAIN_ORDER = {"1"}, WEB_CHANNEL = {"0"}, UPSELL_PRODUCT= &amp;gt;}QTY)&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 19:36:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Challenge-with-Pivot-Table-Total/m-p/932098#M468491</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-08-28T19:36:52Z</dc:date>
    </item>
    <item>
      <title>Re: Challenge with Pivot Table Total</title>
      <link>https://community.qlik.com/t5/QlikView/Challenge-with-Pivot-Table-Total/m-p/932099#M468492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi swuehi,&lt;/P&gt;&lt;P&gt;thank you so much. &lt;/P&gt;&lt;P&gt;Yes of course it works with the second option, but actaully I have another issue.&lt;/P&gt;&lt;P&gt;When I filter only one upsell product the 'Product CR' is correctly calculated but the other columns are filtered and the total is not correct.&lt;/P&gt;&lt;P&gt;So I'm trying to think how to fix the requirement because the objective of business is to filter only the main product or only the upsell or both products.&lt;/P&gt;&lt;P&gt;Do you think that is possible the solution: when I filter an upsell product I see all combinations of main product (related to the upsell product selected) and upsell products.&lt;/P&gt;&lt;P&gt;I wait for your idea,&lt;/P&gt;&lt;P&gt;Romina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 21:27:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Challenge-with-Pivot-Table-Total/m-p/932099#M468492</guid>
      <dc:creator />
      <dc:date>2015-08-28T21:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: Challenge with Pivot Table Total</title>
      <link>https://community.qlik.com/t5/QlikView/Challenge-with-Pivot-Table-Total/m-p/932100#M468493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do the other expressions look like? Could you upload a small sample QVW that demonstrates what you are trying to achieve (could contain some sample mock up data)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 21:36:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Challenge-with-Pivot-Table-Total/m-p/932100#M468493</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-08-28T21:36:26Z</dc:date>
    </item>
    <item>
      <title>Re: Challenge with Pivot Table Total</title>
      <link>https://community.qlik.com/t5/QlikView/Challenge-with-Pivot-Table-Total/m-p/932101#M468494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi swuehl,&lt;/P&gt;&lt;P&gt;I don't know if it is possible to do that: when I look for an upsell product I can see in the pivot table all possible combination between main product (related to my filter upsell product) and upsell products. IN this way the user can see always the total performance of main product related to the upsell product that I have set. With the formulas that I have put the filter for upsell product doesn't work anymore.&lt;/P&gt;&lt;P&gt;Thanks a lot,&lt;/P&gt;&lt;P&gt;Romina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Aug 2015 10:19:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Challenge-with-Pivot-Table-Total/m-p/932101#M468494</guid>
      <dc:creator />
      <dc:date>2015-08-29T10:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: Challenge with Pivot Table Total</title>
      <link>https://community.qlik.com/t5/QlikView/Challenge-with-Pivot-Table-Total/m-p/932102#M468495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not quite sure what you are trying to achieve, keep the upsell products unfiltered within the main product, but filter the main products displayed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like attached?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Aug 2015 10:33:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Challenge-with-Pivot-Table-Total/m-p/932102#M468495</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-08-29T10:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: Challenge with Pivot Table Total</title>
      <link>https://community.qlik.com/t5/QlikView/Challenge-with-Pivot-Table-Total/m-p/932103#M468496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greats!&lt;/P&gt;&lt;P&gt;What I want to achieve!&lt;/P&gt;&lt;P&gt;Last question: could you explain me better how the formula works?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SUM({&amp;lt;ACTION = {"I"}, MAIN_ORDER = {"1"}, WEB_CHANNEL = {"0"}, UPSELL_PRODUCT =, MAIN_PRODUCT_UPSELL = p() &amp;gt;}QTY)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot,&lt;/P&gt;&lt;P&gt;Romina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Aug 2015 10:46:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Challenge-with-Pivot-Table-Total/m-p/932103#M468496</guid>
      <dc:creator />
      <dc:date>2015-08-29T10:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: Challenge with Pivot Table Total</title>
      <link>https://community.qlik.com/t5/QlikView/Challenge-with-Pivot-Table-Total/m-p/932104#M468497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just added &lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;MAIN_PRODUCT_UPSELL = p() &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;to the set expression. The p() function will return the set of MAIN_PRODUCT_UPSELL values that are possible with your current selection. So if you select an UPSELL_PRODUCT, there will be an implicite selection on the related MAIN_PRODUCT (within that aggregation calculation). All other MAIN_PRODUCTs will be removed from calculation by your manual selection.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Aug 2015 10:49:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Challenge-with-Pivot-Table-Total/m-p/932104#M468497</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-08-29T10:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: Challenge with Pivot Table Total</title>
      <link>https://community.qlik.com/t5/QlikView/Challenge-with-Pivot-Table-Total/m-p/932105#M468498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Swuehl,&lt;/P&gt;&lt;P&gt;after business test I discovered that in the set analysis I need to find the MAIN_PRODUCT_UPSELL values that are possible from my UPSELL_PRODUCT selection, excluding the possbile values that have not an UPSELL_ID related.&lt;/P&gt;&lt;P&gt;The UPSELL_ID is in the UPSELL_SET table as you can see in the previous example.&lt;/P&gt;&lt;P&gt;I have tried adding UPSELL_ID = {'*'} , UPSELL_ID -= {"=Null()"} but they doesn't work.&lt;/P&gt;&lt;P&gt;Thanks a lot,&lt;/P&gt;&lt;P&gt;Romina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Oct 2015 18:04:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Challenge-with-Pivot-Table-Total/m-p/932105#M468498</guid>
      <dc:creator />
      <dc:date>2015-10-11T18:04:32Z</dc:date>
    </item>
  </channel>
</rss>

