<?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: Pivot table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pivot-table/m-p/746440#M266393</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works, but is not set up in the same way as your table. It has the company on the left then 'Met' and 'Not Met' in rows beside it rather than separate columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also I have a problem with the way the data I have is where each installation owned by a company has two or more meters associated with it which results in the totals being more than doubled. I usually do a set analysis to only count one meter type to resolve this but it does not seem possible in this example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Feb 2015 09:40:52 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-02-19T09:40:52Z</dc:date>
    <item>
      <title>Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table/m-p/746438#M266391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have made a table which returns a -1 or 0 depending on whether the criteria set in the expression have been met. The expression is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Today()-Eligibility Data&amp;gt;730 AND (Today()-FIT_Meter Date)&amp;gt;730 OR (Today()-Eligibility Date)&amp;gt;730 AND IsNull(Meter Data).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It provides a list of all the IDs and whether they meet the expression test or not, along with which company they are registered with.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E.g.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 1&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 2&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 3&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 4&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 6&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;ID&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Company&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Eligibility Data&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Meter Date&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Criteria Met&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;A1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;07/04/2010&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;12/09/2013&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;A2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;B&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;07/04/2010&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;12/09/2013&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;A3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;C&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;07/04/2010&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;A4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;07/04/2010&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;A5&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;B&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;07/04/2010&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;12/09/2013&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;A6&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;C&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;07/04/2010&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;01/04/2011&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;A7&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;07/04/2010&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;12/09/2013&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried to make a pivot table which has a row for each company and the number of IDs which meet the criteria and the number that don't &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 1&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 2&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 3&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Company&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Met&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Not Met&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;B&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;C&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;iain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2015 16:55:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table/m-p/746438#M266391</guid>
      <dc:creator />
      <dc:date>2015-02-18T16:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table/m-p/746439#M266392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There could be many way to achieve this, &lt;/P&gt;&lt;P&gt;a pivot table example is attached.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-7984"&gt;pivot_qv.qvw&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2015 17:42:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table/m-p/746439#M266392</guid>
      <dc:creator />
      <dc:date>2015-02-18T17:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table/m-p/746440#M266393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works, but is not set up in the same way as your table. It has the company on the left then 'Met' and 'Not Met' in rows beside it rather than separate columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also I have a problem with the way the data I have is where each installation owned by a company has two or more meters associated with it which results in the totals being more than doubled. I usually do a set analysis to only count one meter type to resolve this but it does not seem possible in this example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2015 09:40:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table/m-p/746440#M266393</guid>
      <dc:creator />
      <dc:date>2015-02-19T09:40:52Z</dc:date>
    </item>
  </channel>
</rss>

