<?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: Show Pivot and Straight Table in One Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Show-Pivot-and-Straight-Table-in-One-Table/m-p/1038833#M921034</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Excel seems to contain the output data. Where is the raw data which we can use to create the output you are looking for? Can you share that &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Apr 2016 16:38:18 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-04-28T16:38:18Z</dc:date>
    <item>
      <title>Show Pivot and Straight Table in One Table</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Pivot-and-Straight-Table-in-One-Table/m-p/1038832#M921033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically, I just need to break down Transfer into Answered and Abandoned for Department.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;TFN 8002212321 from Service line received 281 calls, 22 out of those 281 calls are hang ups and 259 calls are transferred to Boat department. In this 259 transferred calls to Boat department, 112 calls are answered and 147 are abandoned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Is there anyway to show/merge pivot and straight table like below? Or is there a better way to present these data, instead of showing one straight table and one pivot? I have attached sample data below as well.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="123000" alt="Screenshot.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/123000_Screenshot.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your input!&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/Show-Pivot-and-Straight-Table-in-One-Table/m-p/1038832#M921033</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Show Pivot and Straight Table in One Table</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Pivot-and-Straight-Table-in-One-Table/m-p/1038833#M921034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Excel seems to contain the output data. Where is the raw data which we can use to create the output you are looking for? Can you share that &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2016 16:38:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Pivot-and-Straight-Table-in-One-Table/m-p/1038833#M921034</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-28T16:38:18Z</dc:date>
    </item>
    <item>
      <title>Re: Show Pivot and Straight Table in One Table</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Pivot-and-Straight-Table-in-One-Table/m-p/1038834#M921035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Technically, you cannot merge a Straight Table and a Pivot table, these are two separate objects. However, you can build the desired presentation within a Pivot Table. For that, you need to convert any Expressions that should not be iterated over your pivoted dimension (Department), into calculated dimensions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This can be done using the advanced aggregation function AGGR(). You should state your calculation and use your "main" chart dimensions as the AGGR dimensions. For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AGGR( COUNT(CallID) , [TFN BU], TFN)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using this formula in a calculated dimension will cause this dimension to appear once per chart, next to the other dimensions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm going to teach a technical session about the AGGR function at Qonnections, on Wednesday at 10:00 AM. Anyone who'd like to listen - it's not too late to reserve your seat!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;Oleg Troyansky&lt;/P&gt;&lt;P&gt;Check out my new book &lt;A href="http://www.amazon.com/gp/product/1118949552/ref=as_li_tl?ie=UTF8&amp;amp;camp=1789&amp;amp;creative=9325&amp;amp;creativeASIN=1118949552&amp;amp;linkCode=as2&amp;amp;tag=natursyner0f-20&amp;amp;linkId=CVZRHMG6CVR2FGTA"&gt;QlikView Your Business - The Expert Guide for QlikView and Qlik Sense&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2016 17:12:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Pivot-and-Straight-Table-in-One-Table/m-p/1038834#M921035</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2016-04-28T17:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: Show Pivot and Straight Table in One Table</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Pivot-and-Straight-Table-in-One-Table/m-p/1038835#M921036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/123182_Capture.PNG" style="height: 94px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Script:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD tfn_bu, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; toll_free_number, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; gen_vq_resource_name, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; session_key, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; hangup, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; transfer, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; answered, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; abandoned&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[sample data.csv]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(txt, codepage is 1252, embedded labels, delimiter is ',', msq);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table1:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * Inline [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dim&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;4&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;5&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pivot Table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimensions&lt;/P&gt;&lt;P&gt;1) &lt;STRONG&gt;tfn_bu&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;2) &lt;STRONG&gt;toll_free_number&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;3) &lt;STRONG&gt;=If(Match(Dim, 4, 5), gen_vq_resource_name, ' ')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;4) &lt;STRONG&gt;=Pick(Dim, 'Total Calls', 'Hang Ups', 'Transfer', 'Answered', 'Abandoned')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Pick(Dim,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RangeSum(Sum(hangup), Sum(transfer)),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(hangup),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(transfer),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(answered),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(abandoned))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Apr 2016 21:47:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Pivot-and-Straight-Table-in-One-Table/m-p/1038835#M921036</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-29T21:47:02Z</dc:date>
    </item>
    <item>
      <title>Re: Show Pivot and Straight Table in One Table</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Pivot-and-Straight-Table-in-One-Table/m-p/1038836#M921037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Oleg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your explaination!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 15:01:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Pivot-and-Straight-Table-in-One-Table/m-p/1038836#M921037</guid>
      <dc:creator />
      <dc:date>2016-05-03T15:01:38Z</dc:date>
    </item>
    <item>
      <title>Re: Show Pivot and Straight Table in One Table</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Pivot-and-Straight-Table-in-One-Table/m-p/1038837#M921038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's exactly what I need! Thank you very much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able to use your sample and solve my problem. I have another question for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I add more metrics and some of them need to show in percentage and integer. There is only one expression for all metrics, therefore I can't format the metrics separately. How do I do this? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 15:07:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Pivot-and-Straight-Table-in-One-Table/m-p/1038837#M921038</guid>
      <dc:creator />
      <dc:date>2016-05-03T15:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: Show Pivot and Straight Table in One Table</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Pivot-and-Straight-Table-in-One-Table/m-p/1038838#M921039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can add an if statement based on the dimension and set different format types using Num() function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 15:23:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Pivot-and-Straight-Table-in-One-Table/m-p/1038838#M921039</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-03T15:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: Show Pivot and Straight Table in One Table</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Pivot-and-Straight-Table-in-One-Table/m-p/1038839#M921040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 15:50:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Pivot-and-Straight-Table-in-One-Table/m-p/1038839#M921040</guid>
      <dc:creator />
      <dc:date>2016-05-03T15:50:08Z</dc:date>
    </item>
  </channel>
</rss>

