<?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 total missing in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pivot-table-total-missing/m-p/743263#M265397</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was able to get the grand totals back by getting rid of my IF statement and tying the inline table to my data model instead of being an island.&amp;nbsp; In my inline table I just added an additional field named the same as the field int the benchmark data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Mar 2015 16:27:50 GMT</pubDate>
    <dc:creator>NickHoff</dc:creator>
    <dc:date>2015-03-04T16:27:50Z</dc:date>
    <item>
      <title>Pivot table total missing</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-total-missing/m-p/743262#M265396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a pivot table which has the following three dimensions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BenchmarkMSPickDesc&amp;nbsp; - &lt;SPAN style="font-size: 13.3333330154419px;"&gt;Built on an inline table used for a pick statement in expressions&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BenchmarkPickMedicalSurgical:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;BenchmarkMSPickID,BenchmarkMSPickDesc&lt;/P&gt;&lt;P&gt;1, M&lt;/P&gt;&lt;P&gt;2, S&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;BenchmarkObsFactorsStratified&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IPClassificationDesc - Built on an inline table used for a pick statement in expressions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PickIPClassification:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;IPClassificationID, IPClassificationDesc&lt;/P&gt;&lt;P&gt;1, 'Jan - Jun 2014 One Day Stays'&lt;/P&gt;&lt;P&gt;2, 'With 2 Midnights or Greater Based on Time Stamps'&lt;/P&gt;&lt;P&gt;3, 'At Risk One Day Stays'&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following 4 expressions, which are built with set analysis using alternate states:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(BenchmarkMSPickDesc = 'M',PICK(IPClassificationID,&lt;/P&gt;&lt;P&gt;SUM({BenchMark&amp;lt;BenchmarkIPMedicalSurgicalIND={M},@BenchmarkInpatientIND={1}&amp;gt;}BenchmarkCases),&lt;/P&gt;&lt;P&gt;SUM({BenchMark&amp;lt;BenchmarkIPMedicalSurgicalIND={M},@BenchmarkInpatientIND={1}, BenchmarkMidnightClassification = {'2 Midnights or Greater'}&amp;gt;}BenchmarkCases),&lt;/P&gt;&lt;P&gt;SUM({BenchMark&amp;lt;BenchmarkIPMedicalSurgicalIND={M},@BenchmarkInpatientIND={1}, BenchmarkMidnightClassification = {'At Risk One Day Stays'}&amp;gt;}BenchmarkCases)),&lt;/P&gt;&lt;P&gt;IF(BenchmarkMSPickDesc = 'S',PICK(IPClassificationID,&lt;/P&gt;&lt;P&gt;SUM({BenchMark&amp;lt;BenchmarkIPMedicalSurgicalIND={S},@BenchmarkInpatientIND={1}&amp;gt;}BenchmarkCases),&lt;/P&gt;&lt;P&gt;SUM({BenchMark&amp;lt;BenchmarkIPMedicalSurgicalIND={S},@BenchmarkInpatientIND={1}, BenchmarkMidnightClassification = {'2 Midnights or Greater'}&amp;gt;}BenchmarkCases),&lt;/P&gt;&lt;P&gt;SUM({BenchMark&amp;lt;BenchmarkIPMedicalSurgicalIND={S},@BenchmarkInpatientIND={1}, BenchmarkMidnightClassification = {'At Risk One Day Stays'}&amp;gt;}BenchmarkCases))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(BenchmarkMSPickDesc = 'M',PICK(IPClassificationID,&lt;/P&gt;&lt;P&gt;SUM({BenchMark&amp;lt;BenchmarkIPMedicalSurgicalIND={M},@BenchmarkInpatientIND={1}&amp;gt;}BenchmarkTotalBilledCharges),&lt;/P&gt;&lt;P&gt;SUM({BenchMark&amp;lt;BenchmarkIPMedicalSurgicalIND={M},@BenchmarkInpatientIND={1},BenchmarkMidnightClassification = {'2 Midnights or Greater'}&amp;gt;}BenchmarkTotalBilledCharges),&lt;/P&gt;&lt;P&gt;SUM({BenchMark&amp;lt;BenchmarkIPMedicalSurgicalIND={M},@BenchmarkInpatientIND={1},BenchmarkMidnightClassification = {'At Risk One Day Stays'}&amp;gt;}BenchmarkTotalBilledCharges)),&lt;/P&gt;&lt;P&gt;IF(BenchmarkMSPickDesc = 'S',PICK(IPClassificationID,&lt;/P&gt;&lt;P&gt;SUM({BenchMark&amp;lt;BenchmarkIPMedicalSurgicalIND={S},@BenchmarkInpatientIND={1}&amp;gt;}BenchmarkTotalBilledCharges),&lt;/P&gt;&lt;P&gt;SUM({BenchMark&amp;lt;BenchmarkIPMedicalSurgicalIND={S},@BenchmarkInpatientIND={1},BenchmarkMidnightClassification = {'2 Midnights or Greater'}&amp;gt;}BenchmarkTotalBilledCharges),&lt;/P&gt;&lt;P&gt;SUM({BenchMark&amp;lt;BenchmarkIPMedicalSurgicalIND={S},@BenchmarkInpatientIND={1},BenchmarkMidnightClassification = {'At Risk One Day Stays'}&amp;gt;}BenchmarkTotalBilledCharges))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(BenchmarkMSPickDesc = 'M',PICK(IPClassificationID,&lt;/P&gt;&lt;P&gt;SUM({BenchMark&amp;lt;BenchmarkIPMedicalSurgicalIND={M},@BenchmarkInpatientIND={1}&amp;gt;} BenchmarkHybridNetRevAmt),&lt;/P&gt;&lt;P&gt;SUM({BenchMark&amp;lt;BenchmarkIPMedicalSurgicalIND={M},@BenchmarkInpatientIND={1},BenchmarkMidnightClassification = {'2 Midnights or Greater'}&amp;gt;} BenchmarkHybridNetRevAmt),&lt;/P&gt;&lt;P&gt;SUM({BenchMark&amp;lt;BenchmarkIPMedicalSurgicalIND={M},@BenchmarkInpatientIND={1},BenchmarkMidnightClassification = {'At Risk One Day Stays'}&amp;gt;} BenchmarkHybridNetRevAmt)),&lt;/P&gt;&lt;P&gt;IF(BenchmarkMSPickDesc = 'S',PICK(IPClassificationID,&lt;/P&gt;&lt;P&gt;SUM({BenchMark&amp;lt;BenchmarkIPMedicalSurgicalIND={S},@BenchmarkInpatientIND={1}&amp;gt;} BenchmarkHybridNetRevAmt),&lt;/P&gt;&lt;P&gt;SUM({BenchMark&amp;lt;BenchmarkIPMedicalSurgicalIND={S},@BenchmarkInpatientIND={1},BenchmarkMidnightClassification = {'2 Midnights or Greater'}&amp;gt;} BenchmarkHybridNetRevAmt),&lt;/P&gt;&lt;P&gt;SUM({BenchMark&amp;lt;BenchmarkIPMedicalSurgicalIND={S},@BenchmarkInpatientIND={1},BenchmarkMidnightClassification = {'At Risk One Day Stays'}&amp;gt;} BenchmarkHybridNetRevAmt))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(BenchmarkMSPickDesc = 'M',PICK(IPClassificationID,&lt;/P&gt;&lt;P&gt;SUM({BenchMark&amp;lt;BenchmarkIPMedicalSurgicalIND={M},@BenchmarkInpatientIND={1}&amp;gt;} BenchmarkHybridNetRevAmt)/SUM({BenchMark&amp;lt;BenchmarkIPMedicalSurgicalIND={M,S},@BenchmarkInpatientIND={1}&amp;gt;}BenchmarkCases),&lt;/P&gt;&lt;P&gt;SUM({BenchMark&amp;lt;BenchmarkIPMedicalSurgicalIND={M},@BenchmarkInpatientIND={1},BenchmarkMidnightClassification = {'2 Midnights or Greater'}&amp;gt;} BenchmarkHybridNetRevAmt)/SUM({BenchMark&amp;lt;BenchmarkIPMedicalSurgicalIND={M,S},@BenchmarkInpatientIND={1},BenchmarkMidnightClassification = {'2 Midnights or Greater'}&amp;gt;}BenchmarkCases),&lt;/P&gt;&lt;P&gt;SUM({BenchMark&amp;lt;BenchmarkIPMedicalSurgicalIND={M},@BenchmarkInpatientIND={1},BenchmarkMidnightClassification = {'At Risk One Day Stays'}&amp;gt;} BenchmarkHybridNetRevAmt)/SUM({BenchMark&amp;lt;BenchmarkIPMedicalSurgicalIND={M,S},@BenchmarkInpatientIND={1},BenchmarkMidnightClassification = {'At Risk One Day Stays'}&amp;gt;}BenchmarkCases)),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe since i'm using an if statement for each expressions it's not allowing me to select grand totals, although sub totals are allowed.&amp;nbsp; How can I re-write the logic above to allow a grand total option?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 15:34:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-total-missing/m-p/743262#M265396</guid>
      <dc:creator>NickHoff</dc:creator>
      <dc:date>2015-03-04T15:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table total missing</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-total-missing/m-p/743263#M265397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was able to get the grand totals back by getting rid of my IF statement and tying the inline table to my data model instead of being an island.&amp;nbsp; In my inline table I just added an additional field named the same as the field int the benchmark data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 16:27:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-total-missing/m-p/743263#M265397</guid>
      <dc:creator>NickHoff</dc:creator>
      <dc:date>2015-03-04T16:27:50Z</dc:date>
    </item>
  </channel>
</rss>

