<?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 Chart expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pivot-Chart-expression/m-p/9018#M607544</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may want to create a derived flag field in the load script to indicate the correct setup field. If you need more specific help, I suggest that you upload a small sample qvw with some representative sample data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Jan 2018 10:38:10 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2018-01-29T10:38:10Z</dc:date>
    <item>
      <title>Pivot Chart expression</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Chart-expression/m-p/9017#M607543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a chart like&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="191670" alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/191670_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;Currently my coll% is showing coll/Setup but what i want is that the coll amount should always be divided by the first setup only, i.e 40/100,20/100,10/100 giving me 40%,20%,10%. This should be respective of each and every month. Basically i want to take the setup amount where my setup month is same as my collection month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2018 10:30:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Chart-expression/m-p/9017#M607543</guid>
      <dc:creator>arpitkharkia</dc:creator>
      <dc:date>2018-01-29T10:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Chart expression</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Chart-expression/m-p/9018#M607544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may want to create a derived flag field in the load script to indicate the correct setup field. If you need more specific help, I suggest that you upload a small sample qvw with some representative sample data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2018 10:38:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Chart-expression/m-p/9018#M607544</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2018-01-29T10:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Chart expression</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Chart-expression/m-p/9019#M607545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the attachments above. Let me know if you need anything else. Yes, i have created a flag but im not sure how to use it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2018 10:43:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Chart-expression/m-p/9019#M607545</guid>
      <dc:creator>arpitkharkia</dc:creator>
      <dc:date>2018-01-29T10:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Chart expression</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Chart-expression/m-p/9020#M607546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(CollectionAmount)/&lt;STRONG&gt;Above(sum(SetupAmount), RowNo()-1,0)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG __jive_id="191667" alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/191667_Capture.JPG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2018 10:50:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Chart-expression/m-p/9020#M607546</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2018-01-29T10:50:05Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Chart expression</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Chart-expression/m-p/9021#M607547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try with:&lt;/P&gt;&lt;P&gt;Sum(CollectionAmount)/Max(TOTAL &amp;lt;SetupMonth&amp;gt; {&amp;lt;flag = 1&amp;gt;}SetupAmount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Saludos&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2018 10:51:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Chart-expression/m-p/9021#M607547</guid>
      <dc:creator>fvelascog72</dc:creator>
      <dc:date>2018-01-29T10:51:46Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Chart expression</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Chart-expression/m-p/9022#M607548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think this is the Coll% expression you are looking for&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;sum(CollectionAmount)/sum({&amp;lt;flag = {1}&amp;gt;} total &amp;lt;SetupMonth&amp;gt; SetupAmount)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/191668_Capture.PNG" style="height: auto;" /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Note the flag for SetupMonth = Nov is set for CollectionMonth = Nov (90). perhaps the flag should be Jan (110). The expression is interpreting the value correctly according to the flag.&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2018 10:52:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Chart-expression/m-p/9022#M607548</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2018-01-29T10:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Chart expression</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Chart-expression/m-p/9023#M607549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It wont work if i change my view&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/191676_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2018 10:55:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Chart-expression/m-p/9023#M607549</guid>
      <dc:creator>arpitkharkia</dc:creator>
      <dc:date>2018-01-29T10:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Chart expression</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Chart-expression/m-p/9024#M607550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its working just fine. Dont worry about the Nov to Jan issue i will handle that. One more small help. I want all those setup amount with flag 1 to be shown beside the respective months as dimension so as to make it easy for the users to read the data. Can you please help me with that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2018 11:17:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Chart-expression/m-p/9024#M607550</guid>
      <dc:creator>arpitkharkia</dc:creator>
      <dc:date>2018-01-29T11:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Chart expression</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Chart-expression/m-p/9025#M607551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its just that i dont want to confuse the users with multiple setup amounts&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2018 11:18:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Chart-expression/m-p/9025#M607551</guid>
      <dc:creator>arpitkharkia</dc:creator>
      <dc:date>2018-01-29T11:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot Chart expression</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Chart-expression/m-p/9026#M607552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just use the denominator of the expression - &lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;sum({&amp;lt;flag = {1}&amp;gt;} total &amp;lt;SetupMonth&amp;gt; SetupAmount)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I suggest that you do it as an expression rather than a dimension, so you can avoid the aggr(). Drag it into the desired position in the pivot.&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2018 05:15:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Chart-expression/m-p/9026#M607552</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2018-01-30T05:15:47Z</dc:date>
    </item>
  </channel>
</rss>

