<?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: Average Calculation Issue in Pivot Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Average-Calculation-Issue-in-Pivot-Table/m-p/28313#M4679</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is a New qvw&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Apr 2018 06:33:10 GMT</pubDate>
    <dc:creator>stabben23</dc:creator>
    <dc:date>2018-04-13T06:33:10Z</dc:date>
    <item>
      <title>Average Calculation Issue in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Average-Calculation-Issue-in-Pivot-Table/m-p/28311#M4677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an issue in calculating the average, so looking for some help here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I would like to show avg counts per each day/week/month...etc insisted of total counts in the text boxes and Pivot table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to match the avg counts from text box values with the Pivot table values (from the attached file) for that in &lt;SPAN style="font-size: 13.3333px;"&gt; Pivot table &lt;/SPAN&gt;i have tried some expressions(along with dates trying to add Pivot tables dimensions as well) to match Avg Fleet/Rented&amp;nbsp; values with the text box values values, It is matching only when we select a particular day (Select a day from list box and see) but when you deselect the day or when you clear the selections avg text box values are not matching with Pivot table values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of-course it should match when we select Corp_BP_Type filter as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second one is need to set up Document On Open trigger for Week and Quarter fields as like other date fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2018 14:21:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-Calculation-Issue-in-Pivot-Table/m-p/28311#M4677</guid>
      <dc:creator>AC</dc:creator>
      <dc:date>2018-04-12T14:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: Average Calculation Issue in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Average-Calculation-Issue-in-Pivot-Table/m-p/28312#M4678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Guys, Any help on my issue??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2018 03:30:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-Calculation-Issue-in-Pivot-Table/m-p/28312#M4678</guid>
      <dc:creator>AC</dc:creator>
      <dc:date>2018-04-13T03:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: Average Calculation Issue in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Average-Calculation-Issue-in-Pivot-Table/m-p/28313#M4679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is a New qvw&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2018 06:33:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-Calculation-Issue-in-Pivot-Table/m-p/28313#M4679</guid>
      <dc:creator>stabben23</dc:creator>
      <dc:date>2018-04-13T06:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: Average Calculation Issue in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Average-Calculation-Issue-in-Pivot-Table/m-p/28314#M4680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the response Staffan. Its matching for Monthly,Week and Day but when clear the selections and when you select Quarter and Year its not matching. See below&lt;IMG alt="Capture3.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/199580_Capture3.JPG" style="height: 449px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2018 13:26:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-Calculation-Issue-in-Pivot-Table/m-p/28314#M4680</guid>
      <dc:creator>AC</dc:creator>
      <dc:date>2018-04-13T13:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: Average Calculation Issue in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Average-Calculation-Issue-in-Pivot-Table/m-p/28315#M4681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Change to Date here instead of Day&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;avg&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;only&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Vehicle_Use&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) = 'LEASE',&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Vehicle_Use&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;-={''},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Unit_type&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;-={''},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Current_Cust_Number&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ={'699999','699998'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Vehicle_FlagStatus_Group2&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'AVAILABLE','RENTED','DEADLINED'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Veh_Cap_Status&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;-={''}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;FLEET_COUNT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Vehicle_Use&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;-={''},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Unit_type&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;-={''},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Vehicle_FlagStatus_Group2&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'AVAILABLE','RENTED','DEADLINED'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Veh_Cap_Status&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;-={''}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;FLEET_COUNT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)),&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;Date&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Corp_BP_Type&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Unit_type&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)),&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Corp_BP_Type&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Unit_type&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2018 13:32:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-Calculation-Issue-in-Pivot-Table/m-p/28315#M4681</guid>
      <dc:creator>stabben23</dc:creator>
      <dc:date>2018-04-13T13:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: Average Calculation Issue in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Average-Calculation-Issue-in-Pivot-Table/m-p/28316#M4682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, now its working fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2018 20:08:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Average-Calculation-Issue-in-Pivot-Table/m-p/28316#M4682</guid>
      <dc:creator>AC</dc:creator>
      <dc:date>2018-04-13T20:08:59Z</dc:date>
    </item>
  </channel>
</rss>

