<?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: Help with pivot table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-with-pivot-table/m-p/783669#M1031456</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I assume you calculate these expressions on the front end.&lt;/P&gt;&lt;P&gt;Each order has one ship date but each Customer has multiple, hence it "falls apart".&amp;nbsp; You can make it much easier by calculating the days and the late flag in the script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Jan 2015 18:20:03 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-01-28T18:20:03Z</dc:date>
    <item>
      <title>Help with pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-pivot-table/m-p/783668#M1031454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I trying to get how long it takes our warehouse to ship orders.&amp;nbsp; I have the following expressions that work from an individual order perspective&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NetWorkDays(CalendarAvailableShipDate,CalendarShipDate)-1 = Calculates the days is takes to ship&lt;/P&gt;&lt;P&gt;if(Column(2) &amp;gt;= 8,1,0) = Takes the above expression and let's me know if order take longer than 8 days then puts a 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above works for each order, but when I want to see it based on a Customer perspective, it falls apart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I write the above so when I group the pivot table by customer it will then add up all the orders and then divide by how many were late (&lt;SPAN style="font-size: 13.3333330154419px;"&gt;if(Column(2) &amp;gt;= 8,1,0))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this makes sense&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 16:58:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-pivot-table/m-p/783668#M1031454</guid>
      <dc:creator />
      <dc:date>2015-01-28T16:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: Help with pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-pivot-table/m-p/783669#M1031456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I assume you calculate these expressions on the front end.&lt;/P&gt;&lt;P&gt;Each order has one ship date but each Customer has multiple, hence it "falls apart".&amp;nbsp; You can make it much easier by calculating the days and the late flag in the script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 18:20:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-pivot-table/m-p/783669#M1031456</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-28T18:20:03Z</dc:date>
    </item>
  </channel>
</rss>

