<?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: Counting objects in a pivot table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Counting-objects-in-a-pivot-table/m-p/1288627#M517342</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a new field in the script like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; YEAR * 100 + WEEK as YearWeek;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then, try this expression&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Sum({&amp;lt;Tech= {2, 3, 4}, YearWeek = {"$(=Max(YearWeek))"}&amp;gt;}[Node Id])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/156306_Capture.PNG" style="height: 305px; width: 620px;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Mar 2017 08:17:08 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-03-15T08:17:08Z</dc:date>
    <item>
      <title>Counting objects in a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-objects-in-a-pivot-table/m-p/1288624#M517339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;In the encosed document I want to count number of Node Id's for each Object and Tech and for the last week available.&lt;/P&gt;&lt;P&gt;I've tried to use this expresion but If I select several weeks the result will be aggregated&lt;/P&gt;&lt;P&gt;*=Count ({&amp;lt;Tech= {'3'} &amp;gt;}[Node Id])*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can this be done?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Mar 2017 15:42:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-objects-in-a-pivot-table/m-p/1288624#M517339</guid>
      <dc:creator>stekol61</dc:creator>
      <dc:date>2017-03-14T15:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: Counting objects in a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-objects-in-a-pivot-table/m-p/1288625#M517340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the number you are expecting to see?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Mar 2017 16:29:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-objects-in-a-pivot-table/m-p/1288625#M517340</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-14T16:29:52Z</dc:date>
    </item>
    <item>
      <title>Re: Counting objects in a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-objects-in-a-pivot-table/m-p/1288626#M517341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;Column 6 are the values I want to se for object A for tech 2, 3 and 4.&lt;/P&gt;&lt;P&gt;I always want to see the values for the last week available.In this example week 11&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 384px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="21" width="64"&gt;2017&lt;/TD&gt;&lt;TD align="right" class="xl66" width="64"&gt;11&lt;/TD&gt;&lt;TD class="xl67" width="64"&gt;A&lt;/TD&gt;&lt;TD class="xl67" width="64"&gt;4&lt;/TD&gt;&lt;TD align="right" class="xl68" width="64"&gt;99,37%&lt;/TD&gt;&lt;TD align="right" class="xl72" width="64"&gt;&lt;STRONG style="text-decoration: underline;"&gt;12914&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="21"&gt;2017&lt;/TD&gt;&lt;TD align="right" class="xl66"&gt;11&lt;/TD&gt;&lt;TD class="xl67"&gt;A&lt;/TD&gt;&lt;TD class="xl67"&gt;2&lt;/TD&gt;&lt;TD align="right" class="xl68"&gt;99,11%&lt;/TD&gt;&lt;TD align="right" class="xl72"&gt;&lt;STRONG style="text-decoration: underline;"&gt;7634&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl69" height="21"&gt;2017&lt;/TD&gt;&lt;TD align="right" class="xl69"&gt;11&lt;/TD&gt;&lt;TD class="xl67"&gt;A&lt;/TD&gt;&lt;TD class="xl70"&gt;3&lt;/TD&gt;&lt;TD align="right" class="xl71"&gt;99,82%&lt;/TD&gt;&lt;TD align="right" class="xl72"&gt;&lt;STRONG style="text-decoration: underline;"&gt;34980&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Mar 2017 08:01:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-objects-in-a-pivot-table/m-p/1288626#M517341</guid>
      <dc:creator>stekol61</dc:creator>
      <dc:date>2017-03-15T08:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: Counting objects in a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-objects-in-a-pivot-table/m-p/1288627#M517342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a new field in the script like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; YEAR * 100 + WEEK as YearWeek;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then, try this expression&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Sum({&amp;lt;Tech= {2, 3, 4}, YearWeek = {"$(=Max(YearWeek))"}&amp;gt;}[Node Id])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/156306_Capture.PNG" style="height: 305px; width: 620px;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Mar 2017 08:17:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-objects-in-a-pivot-table/m-p/1288627#M517342</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-15T08:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: Counting objects in a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-objects-in-a-pivot-table/m-p/1288628#M517343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;A few things:&lt;/P&gt;&lt;P&gt;- I have YearWeek loaded in the format "2017-11". Does this matter?&lt;/P&gt;&lt;P&gt;- The format of Tech is G2, G3 and G4 not 2,3 and 4. Does this matter?&lt;/P&gt;&lt;P&gt;- I want these new Count-values to be added to the current pivot after "MCDR(4)"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Mar 2017 15:12:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-objects-in-a-pivot-table/m-p/1288628#M517343</guid>
      <dc:creator>stekol61</dc:creator>
      <dc:date>2017-03-15T15:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: Counting objects in a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-objects-in-a-pivot-table/m-p/1288629#M517344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;- I have YearWeek loaded in the format "2017-11". Does this matter?&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;As long as its a dual field, it won't matter.... or you can use MaxString(YearWeek) in the set analysis&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;=Sum({&amp;lt;Tech= {2, 3, 4}, YearWeek = {"$(=&lt;SPAN style="font-size: 13.3333px;"&gt;MaxString&lt;/SPAN&gt;(YearWeek))"}&amp;gt;}[Node Id])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;- The format of Tech is G2, G3 and G4 not 2,3 and 4. Does this matter?&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Don't think this matter... I guess you can add them with single quotes (not needed, but if they had spaces, then we would have def. needed them)&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;=Sum({&amp;lt;Tech= {'G2', 'G3', 'G4'}, YearWeek = {"$(=&lt;SPAN style="font-size: 13.3333px;"&gt;MaxString&lt;/SPAN&gt;(YearWeek))"}&amp;gt;}[Node Id])&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;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;- I want these new Count-values to be added to the current pivot after "MCDR(4)"&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Should be doable, but I don't have your current pivot table, so won't know how you created it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Mar 2017 15:16:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-objects-in-a-pivot-table/m-p/1288629#M517344</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-15T15:16:40Z</dc:date>
    </item>
    <item>
      <title>Re: Counting objects in a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-objects-in-a-pivot-table/m-p/1288630#M517346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi1&lt;/P&gt;&lt;P&gt;The pivot is included in my previous ticket:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/thread/251786?sr=inbox&amp;amp;ru=98547"&gt;"Visual Cues in Pivot with different limits&lt;/A&gt;"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Mar 2017 15:23:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-objects-in-a-pivot-table/m-p/1288630#M517346</guid>
      <dc:creator>stekol61</dc:creator>
      <dc:date>2017-03-15T15:23:25Z</dc:date>
    </item>
    <item>
      <title>Re: Counting objects in a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-objects-in-a-pivot-table/m-p/1288631#M517348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't see any qvw attached... I won't be able to put together another qvw from your previous thread.... if you can provide a qvw, I might be able to look into it &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Mar 2017 15:28:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-objects-in-a-pivot-table/m-p/1288631#M517348</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-15T15:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: Counting objects in a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-objects-in-a-pivot-table/m-p/1288632#M517350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can I upload&amp;nbsp; the file to an ongoing ticket?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Mar 2017 15:35:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-objects-in-a-pivot-table/m-p/1288632#M517350</guid>
      <dc:creator>stekol61</dc:creator>
      <dc:date>2017-03-15T15:35:35Z</dc:date>
    </item>
    <item>
      <title>Re: Counting objects in a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-objects-in-a-pivot-table/m-p/1288633#M517352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-16454"&gt;Uploading a Sample&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Mar 2017 15:37:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-objects-in-a-pivot-table/m-p/1288633#M517352</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-15T15:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: Counting objects in a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-objects-in-a-pivot-table/m-p/1288634#M517354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK.&lt;/P&gt;&lt;P&gt;Here it is&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Mar 2017 15:39:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-objects-in-a-pivot-table/m-p/1288634#M517354</guid>
      <dc:creator>stekol61</dc:creator>
      <dc:date>2017-03-15T15:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: Counting objects in a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-objects-in-a-pivot-table/m-p/1288635#M517355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where is Tech in this qvw?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Mar 2017 15:43:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-objects-in-a-pivot-table/m-p/1288635#M517355</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-15T15:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: Counting objects in a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-objects-in-a-pivot-table/m-p/1288636#M517356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's incuded in the expressions. e.g. "4 Availability" is showing data for G4&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Mar 2017 15:49:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-objects-in-a-pivot-table/m-p/1288636#M517356</guid>
      <dc:creator>stekol61</dc:creator>
      <dc:date>2017-03-15T15:49:08Z</dc:date>
    </item>
    <item>
      <title>Re: Counting objects in a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-objects-in-a-pivot-table/m-p/1288637#M517357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;e.g "MCDR (4)" looks like this:&lt;/P&gt;&lt;P&gt;=num(100-((sum({&amp;lt;Tech= {'G4'} &amp;gt;} [Call Fails])+sum({&amp;lt;Tech= {'G4'} &amp;gt;}[Call Drops]))/sum({&amp;lt;Tech= {'G4'} &amp;gt;}[Call Attempts]))*100,'# ##0,00')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Mar 2017 15:55:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-objects-in-a-pivot-table/m-p/1288637#M517357</guid>
      <dc:creator>stekol61</dc:creator>
      <dc:date>2017-03-15T15:55:29Z</dc:date>
    </item>
  </channel>
</rss>

