<?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 Pivot RangeSum() -&amp;gt; Line Chart Equivalent in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pivot-RangeSum-gt-Line-Chart-Equivalent/m-p/841145#M990761</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A colleague and I are a little stumped with creating a line chart equivalent of a pivot table (for one of the measures).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached is the pivot table and a line chart that approximates what we are looking for - if we can get each line to match the yellow % measure for each year, it would exactly what we are looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We tried a number of different ways, unsuccessfully...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help with this really appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Jul 2015 13:17:42 GMT</pubDate>
    <dc:creator>jsakalis</dc:creator>
    <dc:date>2015-07-09T13:17:42Z</dc:date>
    <item>
      <title>Pivot RangeSum() -&gt; Line Chart Equivalent</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-RangeSum-gt-Line-Chart-Equivalent/m-p/841145#M990761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A colleague and I are a little stumped with creating a line chart equivalent of a pivot table (for one of the measures).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached is the pivot table and a line chart that approximates what we are looking for - if we can get each line to match the yellow % measure for each year, it would exactly what we are looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We tried a number of different ways, unsuccessfully...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help with this really appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2015 13:17:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-RangeSum-gt-Line-Chart-Equivalent/m-p/841145#M990761</guid>
      <dc:creator>jsakalis</dc:creator>
      <dc:date>2015-07-09T13:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot RangeSum() -&gt; Line Chart Equivalent</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-RangeSum-gt-Line-Chart-Equivalent/m-p/841146#M990762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is an issue I have stumbled upon in the past and could never resolve...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm very interested in knowing the answer!!!!!!!!!!! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/cry.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help QlikView Masters!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2015 18:45:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-RangeSum-gt-Line-Chart-Equivalent/m-p/841146#M990762</guid>
      <dc:creator />
      <dc:date>2015-07-10T18:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot RangeSum() -&gt; Line Chart Equivalent</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-RangeSum-gt-Line-Chart-Equivalent/m-p/841147#M990763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any brave souls out there with the magic needed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jul 2015 20:45:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-RangeSum-gt-Line-Chart-Equivalent/m-p/841147#M990763</guid>
      <dc:creator>jsakalis</dc:creator>
      <dc:date>2015-07-13T20:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot RangeSum() -&gt; Line Chart Equivalent</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-RangeSum-gt-Line-Chart-Equivalent/m-p/841148#M990764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Will work on this when I get time today. Not sure if I will have a solution, but just wanted to let you know that I would love to give it a try &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jul 2015 20:53:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-RangeSum-gt-Line-Chart-Equivalent/m-p/841148#M990764</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-13T20:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot RangeSum() -&gt; Line Chart Equivalent</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-RangeSum-gt-Line-Chart-Equivalent/m-p/841149#M990765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much! &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; In the meantime, I will scratch my head a bit more. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jul 2015 21:02:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-RangeSum-gt-Line-Chart-Equivalent/m-p/841149#M990765</guid>
      <dc:creator>jsakalis</dc:creator>
      <dc:date>2015-07-13T21:02:01Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot RangeSum() -&gt; Line Chart Equivalent</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-RangeSum-gt-Line-Chart-Equivalent/m-p/841150#M990766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the straight table to show the correct numbers, but as soon as I convert it into a Line chart the sorting changes and numbers go haywire. I know why it is doing it, but don't have a solution on this yet. The problem is simple, as soon as I convert it into a line chart, it sorts the expression by the first dimension and gives the result we are not looking for. If we can find a way to sort it by the second dimension in a line chart, the chart should work for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am sharing my WIP with you, as may be collaboratively we can find the solution you are looking for.&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/92814_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA the qvw&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2015 15:40:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-RangeSum-gt-Line-Chart-Equivalent/m-p/841150#M990766</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-14T15:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot RangeSum() -&gt; Line Chart Equivalent</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-RangeSum-gt-Line-Chart-Equivalent/m-p/841151#M990767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried it sixteen ways myself. This should really have a simple solution - just not obvious &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your efforts!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2015 15:45:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-RangeSum-gt-Line-Chart-Equivalent/m-p/841151#M990767</guid>
      <dc:creator>jsakalis</dc:creator>
      <dc:date>2015-07-14T15:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot RangeSum() -&gt; Line Chart Equivalent</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-RangeSum-gt-Line-Chart-Equivalent/m-p/841152#M990768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be its time to get the experts involved here. &lt;A href="https://community.qlik.com/qlik-users/15823"&gt;swuehl&lt;/A&gt;‌, &lt;A href="https://community.qlik.com/qlik-users/61824"&gt;MarcoWedel&lt;/A&gt;‌ can you guys help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2015 15:47:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-RangeSum-gt-Line-Chart-Equivalent/m-p/841152#M990768</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-14T15:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot RangeSum() -&gt; Line Chart Equivalent</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-RangeSum-gt-Line-Chart-Equivalent/m-p/841153#M990769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you probably want something like demonstrated in the attached two line charts &lt;/P&gt;&lt;P&gt;(first one has a filter on MOB between 0 and 24, like in the OP line chart, note that this will not replicated the pivot table column, second with filter removed, replicating the pivot table).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2015 16:50:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-RangeSum-gt-Line-Chart-Equivalent/m-p/841153#M990769</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-07-14T16:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot RangeSum() -&gt; Line Chart Equivalent</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-RangeSum-gt-Line-Chart-Equivalent/m-p/841154#M990770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are such a genius Stefan. One question though, why is the filtered chart starting with MOB = 2 and not 1? And also the percentages are not matching the one up top also?&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/92831_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2015 16:59:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-RangeSum-gt-Line-Chart-Equivalent/m-p/841154#M990770</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-14T16:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot RangeSum() -&gt; Line Chart Equivalent</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-RangeSum-gt-Line-Chart-Equivalent/m-p/841155#M990771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Right, that's because the MOB column is a calculated dimension&lt;/P&gt;&lt;P&gt;=if(MOB=0,1,MOB)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;while the advanced aggregation dimension MOB is not and can't be. There is a conflict because my expression can't decide if it needs to calculate for MOB 0 or MOB 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this calculated dimension is needed, it would be best to calculate a MOBNEW field in the script doing the mapping of policies.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2015 17:23:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-RangeSum-gt-Line-Chart-Equivalent/m-p/841155#M990771</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-07-14T17:23:40Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot RangeSum() -&gt; Line Chart Equivalent</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-RangeSum-gt-Line-Chart-Equivalent/m-p/841156#M990772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just reached a similar conclusion &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;. I just found out that Calculated dimension is throwing things off.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/15823"&gt;swuehl&lt;/A&gt;‌ you are legend my friend. I was able to fix the percentages to match the above pivot table and show 1 with your suggestion of creating MOBNEW&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Aggr(If(Sum ({$&amp;lt;MOBNEW={"&amp;gt;=0&amp;lt;=24"}, @E.Year={"&amp;gt;=2006"}&amp;gt;}[# de Poliza]) &amp;gt; 0,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1-RangeSum(Above(Sum ({$&amp;lt;@E.Year={"&amp;gt;=2006"}&amp;gt;}[# de Poliza])/Sum(TOTAL &amp;lt;@E.Year&amp;gt; {$&amp;lt;@E.Year={"&amp;gt;=2006"}&amp;gt;}&amp;nbsp; [# de Poliza]), 0, RowNo()))), @E.Year, MOBNEW)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Output&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&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/92832_Capture.PNG" style="height: 182px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2015 17:30:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-RangeSum-gt-Line-Chart-Equivalent/m-p/841156#M990772</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-14T17:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot RangeSum() -&gt; Line Chart Equivalent</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-RangeSum-gt-Line-Chart-Equivalent/m-p/841157#M990773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; This is awesome!!!&amp;nbsp; I will check it out later when I get a chance and mark thread answered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thanks so much for your dedication. Really appreciated it!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2015 17:38:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-RangeSum-gt-Line-Chart-Equivalent/m-p/841157#M990773</guid>
      <dc:creator>jsakalis</dc:creator>
      <dc:date>2015-07-14T17:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot RangeSum() -&gt; Line Chart Equivalent</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-RangeSum-gt-Line-Chart-Equivalent/m-p/841158#M990774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just take care in your production environment, that MOB field values have the correct load order, like you want to show in the line chart, numeric ascending. Advanced aggregation dimension values are always sorted by load order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your sample files attached, this was already the case.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2015 17:52:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-RangeSum-gt-Line-Chart-Equivalent/m-p/841158#M990774</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-07-14T17:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot RangeSum() -&gt; Line Chart Equivalent</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-RangeSum-gt-Line-Chart-Equivalent/m-p/841159#M990775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is what was confusing that how did it take the order we wanted. Now I understand how it did. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2015 17:53:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-RangeSum-gt-Line-Chart-Equivalent/m-p/841159#M990775</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-14T17:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot RangeSum() -&gt; Line Chart Equivalent</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-RangeSum-gt-Line-Chart-Equivalent/m-p/841160#M990776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks again guys. Nice work!!!&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2015 21:18:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-RangeSum-gt-Line-Chart-Equivalent/m-p/841160#M990776</guid>
      <dc:creator>jsakalis</dc:creator>
      <dc:date>2015-07-14T21:18:39Z</dc:date>
    </item>
  </channel>
</rss>

