<?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: Avoid Aggregation in Pivot table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Avoid-Aggregation-in-Pivot-table/m-p/1330871#M823662</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;&lt;/P&gt;&lt;P&gt;Any suggestions on the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you once again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jigesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Aug 2017 18:32:31 GMT</pubDate>
    <dc:creator>shah_jigesh16</dc:creator>
    <dc:date>2017-08-02T18:32:31Z</dc:date>
    <item>
      <title>Avoid Aggregation in Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Avoid-Aggregation-in-Pivot-table/m-p/1330870#M823661</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;We are working on a solution where &lt;/P&gt;&lt;P&gt;1. Using Pivot table with 3 Dimension&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; State&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Status&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Transaction&lt;/P&gt;&lt;P&gt;2. Expression: Counting the number of open Transaction based on date selection on UI. i.e. Based on selected date find the latest record for each transaction and verify for Open and Close and only report open as on that date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The aggregation should be on Country level (i.e. Highest level).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression used gives a proper output as expected but when a state is selected output is aggregated based on State.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know on how can we avoid aggregating on State which is a dimension in Pivot Table when a state is selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expected Output:&lt;/P&gt;&lt;P&gt;Without Selection of State Say "ABC"&amp;nbsp; state show a number as 100.&lt;/P&gt;&lt;P&gt;But when State "ABC" is selected number changes to 120. Expectation is to show 100 even if ABC is selected.&lt;/P&gt;&lt;P&gt;Pivot table should also have only one line item if a state ABC is selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jigesh &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/Avoid-Aggregation-in-Pivot-table/m-p/1330870#M823661</guid>
      <dc:creator>shah_jigesh16</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid Aggregation in Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Avoid-Aggregation-in-Pivot-table/m-p/1330871#M823662</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;&lt;/P&gt;&lt;P&gt;Any suggestions on the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you once again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jigesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Aug 2017 18:32:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avoid-Aggregation-in-Pivot-table/m-p/1330871#M823662</guid>
      <dc:creator>shah_jigesh16</dc:creator>
      <dc:date>2017-08-02T18:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid Aggregation in Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Avoid-Aggregation-in-Pivot-table/m-p/1330872#M823663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure what your expression is, but lets say it looks like this &lt;STRONG&gt;Count(Measure)&lt;/STRONG&gt;, try this &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count({&amp;lt;State&amp;gt;} Measure) * Avg(1)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have some set analysis in Count like this&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Count({&amp;lt;Field1 = {'XYZ'}&amp;gt;}Measure)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then add the same one to the Avg(1) also, like this&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Count({&amp;lt;Field1 = {'XYZ'}, State&amp;gt;}Measure)&lt;STRONG style="font-size: 13.3333px;"&gt; * Avg(1)&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Aug 2017 19:51:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avoid-Aggregation-in-Pivot-table/m-p/1330872#M823663</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-08-02T19:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid Aggregation in Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Avoid-Aggregation-in-Pivot-table/m-p/1330873#M823665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for late reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using it dint really work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Issue Detail Desc:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif;"&gt;&lt;SPAN style="color: #1f497d;"&gt;&lt;STRONG&gt;Explanation&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #1f497d;"&gt;: &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt; font-family: Calibri, sans-serif;"&gt;A pivot table should show a count of an item which is in open status. Here a particular item will exists in two or more states. In one state, the item will be in Open status and in other state, the same item will be in closed status. We need to take the latest record of each item and check for the status regardless of State, if it is Open then it is countable. So the count should be based on item not on the State. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt; font-family: Calibri, sans-serif;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt; font-family: Calibri, sans-serif;"&gt;To be clear, if I select a state(Dimension), the item should be countable only if it is the latest record and in Open status. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt; font-family: Calibri, sans-serif;"&gt;Even if the item is in Open status and not the latest record, it should not be a countable one.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt; font-family: Calibri, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt; font-family: Calibri, sans-serif;"&gt;For this I have used the below logic to neglect the State(Dimension) . By doing this, Pivot table is showing the value for all the states. But the Pivot table should show only the dimension which I have selected.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt; font-family: Calibri, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif;"&gt;&lt;SPAN style="color: #1f497d;"&gt;&lt;STRONG&gt;Dimension&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #1f497d;"&gt;: State&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif;"&gt;&lt;SPAN style="color: #1f497d;"&gt;&lt;STRONG&gt;Expression&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #1f497d;"&gt;: &lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-size: 9pt; font-family: 'Courier New';"&gt;State&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;=&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;aggr&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-size: 9pt; font-family: 'Courier New';"&gt;if&lt;/SPAN&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt;(...., 1, 0), Item_ID)) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 9pt; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt; font-family: Calibri, sans-serif;"&gt;Here, I have a selected Tamilnadu as a State.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt; font-family: Calibri, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt; font-family: Calibri, sans-serif;"&gt;Current Result:&lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="margin-left: 0.1pt;" width="183"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="padding: 0 5.4pt; border: 1pt solid windowtext;" valign="bottom" width="103"&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 11pt; font-family: Calibri, sans-serif;"&gt;&lt;STRONG&gt;State&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-width: 1pt; border-style: solid solid solid none; border-color: windowtext; padding: 0 5.4pt;" valign="bottom" width="80"&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 11pt; font-family: Calibri, sans-serif;"&gt;&lt;STRONG&gt;Count&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border-width: 1pt; border-style: none solid solid; border-color: windowtext; padding: 0 5.4pt;" valign="bottom" width="103"&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 11pt; font-family: Calibri, sans-serif;"&gt;Tamilnadu&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-style: none solid solid none; padding: 0 5.4pt; border-right-color: windowtext; border-bottom-color: windowtext; border-right-width: 1pt; border-bottom-width: 1pt;" valign="bottom" width="80"&gt;&lt;P align="right"&gt;&lt;SPAN style="color: black; font-size: 11pt; font-family: Calibri, sans-serif;"&gt;10&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border-width: 1pt; border-style: none solid solid; border-color: windowtext; padding: 0 5.4pt;" valign="bottom" width="103"&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 11pt; font-family: Calibri, sans-serif;"&gt;Kerala&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-style: none solid solid none; padding: 0 5.4pt; border-right-color: windowtext; border-bottom-color: windowtext; border-right-width: 1pt; border-bottom-width: 1pt;" valign="bottom" width="80"&gt;&lt;P align="right"&gt;&lt;SPAN style="color: black; font-size: 11pt; font-family: Calibri, sans-serif;"&gt;15&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border-width: 1pt; border-style: none solid solid; border-color: windowtext; padding: 0 5.4pt;" valign="bottom" width="103"&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 11pt; font-family: Calibri, sans-serif;"&gt;A.P&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-style: none solid solid none; padding: 0 5.4pt; border-right-color: windowtext; border-bottom-color: windowtext; border-right-width: 1pt; border-bottom-width: 1pt;" valign="bottom" width="80"&gt;&lt;P align="right"&gt;&lt;SPAN style="color: black; font-size: 11pt; font-family: Calibri, sans-serif;"&gt;5&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border-width: 1pt; border-style: none solid solid; border-color: windowtext; padding: 0 5.4pt;" valign="bottom" width="103"&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 11pt; font-family: Calibri, sans-serif;"&gt;Karnataka&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-style: none solid solid none; padding: 0 5.4pt; border-right-color: windowtext; border-bottom-color: windowtext; border-right-width: 1pt; border-bottom-width: 1pt;" valign="bottom" width="80"&gt;&lt;P align="right"&gt;&lt;SPAN style="color: black; font-size: 11pt; font-family: Calibri, sans-serif;"&gt;20&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt; font-family: Calibri, sans-serif;"&gt;Expected Result:&lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="margin-left: 0.1pt;" width="176"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="padding: 0 5.4pt; border: 1pt solid windowtext;" valign="bottom" width="96"&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 11pt; font-family: Calibri, sans-serif;"&gt;&lt;STRONG&gt;State&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-width: 1pt; border-style: solid solid solid none; border-color: windowtext; padding: 0 5.4pt;" valign="bottom" width="80"&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 11pt; font-family: Calibri, sans-serif;"&gt;&lt;STRONG&gt;Count&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border-width: 1pt; border-style: none solid solid; border-color: windowtext; padding: 0 5.4pt;" valign="bottom" width="96"&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 11pt; font-family: Calibri, sans-serif;"&gt;Tamilnadu&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-style: none solid solid none; padding: 0 5.4pt; border-right-color: windowtext; border-bottom-color: windowtext; border-right-width: 1pt; border-bottom-width: 1pt;" valign="bottom" width="80"&gt;&lt;P align="right"&gt;&lt;SPAN style="color: black; font-size: 11pt; font-family: Calibri, sans-serif;"&gt;10&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Aug 2017 16:17:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avoid-Aggregation-in-Pivot-table/m-p/1330873#M823665</guid>
      <dc:creator>shah_jigesh16</dc:creator>
      <dc:date>2017-08-11T16:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid Aggregation in Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Avoid-Aggregation-in-Pivot-table/m-p/1330874#M823667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share a sample?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Aug 2017 16:19:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Avoid-Aggregation-in-Pivot-table/m-p/1330874#M823667</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-08-11T16:19:59Z</dc:date>
    </item>
  </channel>
</rss>

