<?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: Change line chart style interactively (remove dimension) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Change-line-chart-style-interactively-remove-dimension/m-p/1140933#M520431</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See this file&lt;/P&gt;&lt;P&gt;&lt;IMG alt="P_231439.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/136414_P_231439.png" style="height: 329px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is you need?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 04 Sep 2016 19:05:47 GMT</pubDate>
    <dc:creator>ecolomer</dc:creator>
    <dc:date>2016-09-04T19:05:47Z</dc:date>
    <item>
      <title>Change line chart style interactively (remove dimension)</title>
      <link>https://community.qlik.com/t5/QlikView/Change-line-chart-style-interactively-remove-dimension/m-p/1140930#M520428</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;this is my data:&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;P&gt;Country&lt;/P&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Month&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;ItemsSold&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Jan&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;12&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Feb&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;15&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Mar&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;17&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Apr&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;May&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;17&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Jun&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;18&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Jan&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;15&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Feb&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;17&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Mar&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;19&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Apr&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;16&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;May&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;18&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Jun&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;12&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I show this data in a line chart. Month and Country are the dimension, ItemsSold is displayed on the y axis (accumulated).&lt;/P&gt;&lt;P&gt;Now I am looking for a way to change the style of the line chart so that the country dimension is somehow removed and the ItemsSold of all countries get accumulated per month, e.g. for January, the values shown in the graph should be 27, instead of 12 and 15.&lt;/P&gt;&lt;P&gt;1. How can I define to accumulate per month?&lt;/P&gt;&lt;P&gt;2. Is there a way to let the user interactively switch between these two styles?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Sep 2016 12:04:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-line-chart-style-interactively-remove-dimension/m-p/1140930#M520428</guid>
      <dc:creator />
      <dc:date>2016-09-04T12:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: Change line chart style interactively (remove dimension)</title>
      <link>https://community.qlik.com/t5/QlikView/Change-line-chart-style-interactively-remove-dimension/m-p/1140931#M520429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PFA, and let me know your expected o/p?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Sep 2016 15:53:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-line-chart-style-interactively-remove-dimension/m-p/1140931#M520429</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-09-04T15:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: Change line chart style interactively (remove dimension)</title>
      <link>https://community.qlik.com/t5/QlikView/Change-line-chart-style-interactively-remove-dimension/m-p/1140932#M520430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I can't open the attached file (QVPE). Can you please describe what to do or provide a link where it is explained how to implement the functionality described in my question?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Sep 2016 19:01:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-line-chart-style-interactively-remove-dimension/m-p/1140932#M520430</guid>
      <dc:creator />
      <dc:date>2016-09-04T19:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: Change line chart style interactively (remove dimension)</title>
      <link>https://community.qlik.com/t5/QlikView/Change-line-chart-style-interactively-remove-dimension/m-p/1140933#M520431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See this file&lt;/P&gt;&lt;P&gt;&lt;IMG alt="P_231439.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/136414_P_231439.png" style="height: 329px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is you need?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Sep 2016 19:05:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-line-chart-style-interactively-remove-dimension/m-p/1140933#M520431</guid>
      <dc:creator>ecolomer</dc:creator>
      <dc:date>2016-09-04T19:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: Change line chart style interactively (remove dimension)</title>
      <link>https://community.qlik.com/t5/QlikView/Change-line-chart-style-interactively-remove-dimension/m-p/1140934#M520432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Christian,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; You can remove and restore the country dimension easily to your chart. Make the dimension conditional on a variable, say vShowCountry. Create this variable in Variable Overview (via Settings) and set it equal to 1. In the Dimensions tab set the Enable condition for the Country dimension:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="136418" alt="Dimension.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/136418_Dimension.jpg" style="height: 285px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Add a button and set its text in the General tab:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="136419" alt="Button.jpg" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/136419_Button.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Add an action to set the value of the vShowCountry variable:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="136420" alt="Variable.jpg" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/136420_Variable.jpg" style="height: 279px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That should do it. You should see something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="136424" alt="Hide.jpg" class="image-4 jive-image" src="https://community.qlik.com/legacyfs/online/136424_Hide.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Click the button and you should then see:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="136425" alt="Show.jpg" class="image-5 jive-image" src="https://community.qlik.com/legacyfs/online/136425_Show.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Sep 2016 21:51:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-line-chart-style-interactively-remove-dimension/m-p/1140934#M520432</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2016-09-04T21:51:41Z</dc:date>
    </item>
    <item>
      <title>Re: Change line chart style interactively (remove dimension)</title>
      <link>https://community.qlik.com/t5/QlikView/Change-line-chart-style-interactively-remove-dimension/m-p/1140935#M520433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you, this is exactly what I need. I tried and it worked immediately with my data.&lt;/P&gt;&lt;P&gt;Now I have a bonus requirement:&lt;/P&gt;&lt;P&gt;I need to show the y-axis in relativ mode, i.e. 0-100%.&lt;/P&gt;&lt;P&gt;With the setting as in your example, the values add up to 100% when there is only one line, i.e. country is removed from dimension.&lt;/P&gt;&lt;P&gt;If there are separat lines for each country, each line only goes up to the percentage which reflects the ration of items sold in this country compared to the overall items sold.&lt;/P&gt;&lt;P&gt;Is there a way to scale each of the separat lines, so that every one of the goes up to 100%?&lt;/P&gt;&lt;P&gt;In fact, what I want to have is an empirical distribution function (&lt;A href="https://en.wikipedia.org/wiki/Empirical_distribution_function" title="https://en.wikipedia.org/wiki/Empirical_distribution_function"&gt;Empirical distribution function - Wikipedia, the free encyclopedia&lt;/A&gt;), similar to what is shown in this picture (complete different data, just to show an example).&lt;IMG alt="ecdf_plot_from_grimson_et_al.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/136484_ecdf_plot_from_grimson_et_al.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Sep 2016 18:26:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-line-chart-style-interactively-remove-dimension/m-p/1140935#M520433</guid>
      <dc:creator />
      <dc:date>2016-09-05T18:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: Change line chart style interactively (remove dimension)</title>
      <link>https://community.qlik.com/t5/QlikView/Change-line-chart-style-interactively-remove-dimension/m-p/1140936#M520434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Christian,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Is this what your'e looking for? Use the expression given in the legend and in the expression tab select Full Accumulation. You can tidy it up a little by setting the Static Max to 1 in the Axes tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The TOTAL qualifier disregards any chart dimensions except any listed in the &amp;lt;&amp;gt;. In this case &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(TOTAL &amp;lt;Country&amp;gt; ItemsSold)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is a constant value for each month : the total number of Items sold in a country over all months. As the numerator accumulates to this figure for successive months the ratio approaches unity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Cumchart.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/136520_Cumchart.JPG" style="height: 276px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2016 07:50:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-line-chart-style-interactively-remove-dimension/m-p/1140936#M520434</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2016-09-06T07:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: Change line chart style interactively (remove dimension)</title>
      <link>https://community.qlik.com/t5/QlikView/Change-line-chart-style-interactively-remove-dimension/m-p/1140937#M520435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Andrew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes, this is exactly what I need. I guess in the TOTAL &amp;lt;&amp;gt;, I can also use multiple columns, in case that my original second dimension is not only country, but country &amp;amp; product, or any other combination?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2016 17:56:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-line-chart-style-interactively-remove-dimension/m-p/1140937#M520435</guid>
      <dc:creator />
      <dc:date>2016-09-06T17:56:09Z</dc:date>
    </item>
  </channel>
</rss>

