<?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: Line chart, stacked area. Empty spaces in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Line-chart-stacked-area-Empty-spaces/m-p/1576527#M41996</link>
    <description>&lt;P&gt;Hi.&lt;BR /&gt;I am new in Qlik Sense "World" and would you like to understand how to do this type of stacked area chart? See the attached image with the final goal (made in excel - sorry).&lt;BR /&gt;&lt;BR /&gt;Thanks for all.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Stacked_Area.PNG" style="width: 968px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/11425i65AFAD2C8CF30560/image-size/large?v=v2&amp;amp;px=999" role="button" title="Stacked_Area.PNG" alt="Stacked_Area.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 03 May 2019 18:08:29 GMT</pubDate>
    <dc:creator>Thiago_AS</dc:creator>
    <dc:date>2019-05-03T18:08:29Z</dc:date>
    <item>
      <title>Line chart, stacked area. Empty spaces</title>
      <link>https://community.qlik.com/t5/App-Development/Line-chart-stacked-area-Empty-spaces/m-p/1389526#M31947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, experts!&lt;/P&gt;&lt;P&gt;I have an issue with a line chart. But before I'll put some sample data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;Data:&lt;/P&gt;
&lt;P&gt;LOAD&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month(makedate(year(today()),Month)) as Month&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,Type&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,Value&lt;/P&gt;
&lt;P&gt;INLINE [&lt;/P&gt;
&lt;P&gt;Month, Type, Value&lt;/P&gt;
&lt;P&gt;1 , Type A , 1345&lt;/P&gt;
&lt;P&gt;1 , Type C , 32&lt;/P&gt;
&lt;P&gt;2 , Type A , 1285&lt;/P&gt;
&lt;P&gt;3 , Type A , 1380&lt;/P&gt;
&lt;P&gt;4 , Type A , 1208&lt;/P&gt;
&lt;P&gt;5 , Type A , 1790&lt;/P&gt;
&lt;P&gt;5 , Type B , 160&lt;/P&gt;
&lt;P&gt;5 , Type C , 160&lt;/P&gt;
&lt;P&gt;6 , Type A , 2130&lt;/P&gt;
&lt;P&gt;6 , Type B , 32&lt;/P&gt;
&lt;P&gt;7 , Type A , 1786&lt;/P&gt;
&lt;P&gt;7 , Type B , 224&lt;/P&gt;
&lt;P&gt;7 , Type C , 102&lt;/P&gt;
&lt;P&gt;8 , Type A , 1988&lt;/P&gt;
&lt;P&gt;8 , Type B , 736&lt;/P&gt;
&lt;P&gt;8 , Type C , 44&lt;/P&gt;
&lt;P&gt;9 , Type A , 2404&lt;/P&gt;
&lt;P&gt;9 , Type B , 64&lt;/P&gt;
&lt;P&gt;9 , Type C , 96&lt;/P&gt;
&lt;P&gt;9 , Type D , 128&lt;/P&gt;
&lt;P&gt;10 , Type A , 994&lt;/P&gt;
&lt;P&gt;10 , Type B , 192&lt;/P&gt;
&lt;P&gt;11 , Type A , 1286&lt;/P&gt;
&lt;P&gt;11 , Type B , 32&lt;/P&gt;
&lt;P&gt;12 , Type A , 816&lt;/P&gt;
&lt;P&gt;12 , Type B , 384&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;

&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With 2 dimension (Type and Month) and a measure (sum(Value)), I get this chart (stacked area) :&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="180066" alt="Graph_1.png" class="jive-image image-1" height="302" src="https://community.qlik.com/legacyfs/online/180066_Graph_1.png" style="height: 302.535px; width: 462px;" width="462" /&gt;&lt;/P&gt;&lt;P&gt;I want to show the percentage of each type for the total values of every month.&lt;/P&gt;&lt;P&gt;With this measure:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;sum(Value ) / sum(&amp;nbsp; TOTAL&amp;nbsp; &amp;lt;Month&amp;gt; Value&amp;nbsp; )&lt;/P&gt;

&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;This is the output (formatting the measure as %)&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="180067" alt="Graph_2.png" class="jive-image image-2" height="294" src="https://community.qlik.com/legacyfs/online/180067_Graph_2.png" style="height: 294px; width: 451.188px;" width="451" /&gt;&lt;/P&gt;&lt;P&gt;In May, I have these values:&lt;/P&gt;&lt;P&gt;Type A: 84.83 (blue)&lt;/P&gt;&lt;P&gt;Type B: 7.58% (green)&lt;/P&gt;&lt;P&gt;Type C: &lt;SPAN style="font-size: 13.3333px;"&gt;7.58% (yellow)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Total: 99,99%&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any option that there are no blank areas in the second chart?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The same thing happens in September with the Type D and in January, with Type C&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: I'm using Qlik Sense 3.2 SR4&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2017 11:52:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Line-chart-stacked-area-Empty-spaces/m-p/1389526#M31947</guid>
      <dc:creator>_k0zm0_2</dc:creator>
      <dc:date>2017-10-18T11:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: Line chart, stacked area. Empty spaces</title>
      <link>https://community.qlik.com/t5/App-Development/Line-chart-stacked-area-Empty-spaces/m-p/1389527#M31948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Change Missing values under Appearance/Presentation/Missing Values to "Show as Zeros" and You will get this chart;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="stackedlinechart.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/180118_stackedlinechart.png" style="height: 340px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2017 13:50:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Line-chart-stacked-area-Empty-spaces/m-p/1389527#M31948</guid>
      <dc:creator>Lucke_Hallbergson</dc:creator>
      <dc:date>2017-10-18T13:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: Line chart, stacked area. Empty spaces</title>
      <link>https://community.qlik.com/t5/App-Development/Line-chart-stacked-area-Empty-spaces/m-p/1389528#M31949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the answer, I hadn't seen that option.&lt;/P&gt;&lt;P&gt;I've selected that option and I get this output with real values:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="image.png" class="jive-image image-1" height="349" src="https://community.qlik.com/legacyfs/online/180094_image.png" style="height: 349.785px; width: 483px;" width="483" /&gt;&lt;/P&gt;&lt;P&gt;It looks better but I'd like to fill al the empty spaces.&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2017 14:03:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Line-chart-stacked-area-Empty-spaces/m-p/1389528#M31949</guid>
      <dc:creator>_k0zm0_2</dc:creator>
      <dc:date>2017-10-18T14:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: Line chart, stacked area. Empty spaces</title>
      <link>https://community.qlik.com/t5/App-Development/Line-chart-stacked-area-Empty-spaces/m-p/1389529#M31950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Finally I was able to solve the problem: it was not for the formula, it was for the granularity of data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the script I had several conditions which reduced the volume of data. &lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt; [...] WHERE Alt (Value, 0)&amp;gt; 0 &lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Removing those conditions the volume of data increased but thus gained granularity.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="image.png" class="jive-image image-1" height="284" src="https://community.qlik.com/legacyfs/online/180231_image.png" style="height: 283.961px; width: 373px;" width="372" /&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;A href="https://community.qlik.com/qlik-users/214639"&gt;aqu&lt;/A&gt; for his help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Oct 2017 15:27:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Line-chart-stacked-area-Empty-spaces/m-p/1389529#M31950</guid>
      <dc:creator>_k0zm0_2</dc:creator>
      <dc:date>2017-10-19T15:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: Line chart, stacked area. Empty spaces</title>
      <link>https://community.qlik.com/t5/App-Development/Line-chart-stacked-area-Empty-spaces/m-p/1576527#M41996</link>
      <description>&lt;P&gt;Hi.&lt;BR /&gt;I am new in Qlik Sense "World" and would you like to understand how to do this type of stacked area chart? See the attached image with the final goal (made in excel - sorry).&lt;BR /&gt;&lt;BR /&gt;Thanks for all.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Stacked_Area.PNG" style="width: 968px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/11425i65AFAD2C8CF30560/image-size/large?v=v2&amp;amp;px=999" role="button" title="Stacked_Area.PNG" alt="Stacked_Area.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2019 18:08:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Line-chart-stacked-area-Empty-spaces/m-p/1576527#M41996</guid>
      <dc:creator>Thiago_AS</dc:creator>
      <dc:date>2019-05-03T18:08:29Z</dc:date>
    </item>
  </channel>
</rss>

