<?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 Query on Pivot Format in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Query-on-Pivot-Format/m-p/1159549#M915796</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;I need to built a report like the image below:When I select 2016-2017, data for selected year and previous year should be populated.&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;IMG alt="Pivot Format.jpg" class="jive-image image-1" src="/legacyfs/online/126004_Pivot Format.jpg" style="height: 194px; width: 620px;" /&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;The problem I am facing is showing both of the totals.(the Horizontal and Vertical in the same shot)&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;If I calculate Nos and % in Expression, I get the Vertical Total showing Nos and %. But I don't get Total for years separately.&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;If I use ValueList function for Nos and % and add 2016-17 and 2015-16 as expression, I get the Horizontal Total for Years but don't get Totals based on Nos and %.&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Is there a way to get both the totals?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Thanks in Advance,&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Jemimah&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;A class="discussionAdd" data-adveditorlnk="/create-advanced-comment.jspa?id=1048941" data-discussionuserid="170463" data-discussionusername="Jemimah Bag" data-isanonymous="false" data-isreply="false" data-messageid="1048941" data-replysubject="Re: Query on Pivot Table format" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;" title="Reply to this message" target="_blank"&gt;&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Query on Pivot Format</title>
      <link>https://community.qlik.com/t5/QlikView/Query-on-Pivot-Format/m-p/1159549#M915796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;I need to built a report like the image below:When I select 2016-2017, data for selected year and previous year should be populated.&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;IMG alt="Pivot Format.jpg" class="jive-image image-1" src="/legacyfs/online/126004_Pivot Format.jpg" style="height: 194px; width: 620px;" /&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;The problem I am facing is showing both of the totals.(the Horizontal and Vertical in the same shot)&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;If I calculate Nos and % in Expression, I get the Vertical Total showing Nos and %. But I don't get Total for years separately.&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;If I use ValueList function for Nos and % and add 2016-17 and 2015-16 as expression, I get the Horizontal Total for Years but don't get Totals based on Nos and %.&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Is there a way to get both the totals?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Thanks in Advance,&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Jemimah&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;A class="discussionAdd" data-adveditorlnk="/create-advanced-comment.jspa?id=1048941" data-discussionuserid="170463" data-discussionusername="Jemimah Bag" data-isanonymous="false" data-isreply="false" data-messageid="1048941" data-replysubject="Re: Query on Pivot Table format" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;" title="Reply to this message" target="_blank"&gt;&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Query-on-Pivot-Format/m-p/1159549#M915796</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Query on Pivot Format</title>
      <link>https://community.qlik.com/t5/QlikView/Query-on-Pivot-Format/m-p/1159550#M915797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;I would suggest that your are using a link table for your ZONEs in your chart:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;DIM_ZONE_TOTAL&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;LOAD ZONE, ZONE as DIM_ZONE&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;RESIDENT YourTableWithZoneDimension;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;CONCATENATE&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;LOAD ZONE, 'TOTAL' as DIM_ZONE&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;RESIDENT YourTableWithZoneDimension;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Then use DIM_ZONE as dimension in your chart instead of ZONE field (and enable partial sums for bucket dimension).&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Hope this helps,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2016 10:27:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Query-on-Pivot-Format/m-p/1159550#M915797</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-05-27T10:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: Query on Pivot Format</title>
      <link>https://community.qlik.com/t5/QlikView/Query-on-Pivot-Format/m-p/1159551#M915798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 May 2016 05:24:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Query-on-Pivot-Format/m-p/1159551#M915798</guid>
      <dc:creator />
      <dc:date>2016-05-28T05:24:26Z</dc:date>
    </item>
  </channel>
</rss>

