<?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: Stacked bar chart Issue in qlik sense in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Stacked-bar-chart-Issue-in-qlik-sense/m-p/2503691#M103640</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/77128"&gt;@Manish&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;As soon as you add 2 dimensions using the bar chart you can only add 1 measure, but using 1 dimension you can add multiple measures.&lt;/P&gt;
&lt;P&gt;Below is my result - I needed to add the ValueList values to the actual Dimesion to force "2 values" for the same month, Not really pretty but it works&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JandreKillianRIC_0-1738226049339.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/177072iEF9AF41D7B6D5056/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JandreKillianRIC_0-1738226049339.png" alt="JandreKillianRIC_0-1738226049339.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is my script&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Table:
Load 
	Date(Date, 'MMM YYYY') as Date,
    A, 
    B,
    C,
    D;
Load * Inline [
Date,A,B,C,D
45292,87,38,4,19
45323,53,77,7,9
45352,67,22,13,8
45383,43,51,7,8
45413,38,20,20,19
45444,14,53,17,1
45474,30,56,5,12
45505,70,42,8,11
45536,92,62,13,4
45566,62,37,9,17
45597,89,29,5,20
45627,10,58,7,11
];

ValueListTmp: //Creating a single dimensio that has valuelist(1,2) added
Load 
	Distinct Date
Resident Table;

Join (ValueListTmp)
Load 
	RecNo() as ValueList
AutoGenerate(2); // This will give us 2 values

ValueList:
Load 
	Date, 
    Date&amp;amp;' '&amp;amp;ValueList as Dimesion, 
	ValueList
Resident ValueListTmp;

Drop Table ValueListTmp; 


&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Measures are just like you had them&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JandreKillianRIC_1-1738226127930.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/177073iCF214C87452AB1D8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JandreKillianRIC_1-1738226127930.png" alt="JandreKillianRIC_1-1738226127930.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards Jandre&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 30 Jan 2025 08:35:34 GMT</pubDate>
    <dc:creator>JandreKillianRIC</dc:creator>
    <dc:date>2025-01-30T08:35:34Z</dc:date>
    <item>
      <title>Stacked bar chart Issue in qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/Stacked-bar-chart-Issue-in-qlik-sense/m-p/2503535#M103620</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;Is there any way I can create a chart as below in Qlik sense?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Same chart I have create in Qlikview by using 2 dimensions and 4 expressions as below&lt;/P&gt;
&lt;P&gt;Dim1 : Date&lt;/P&gt;
&lt;P&gt;Dim 2 : Valuelist(1,2)&lt;/P&gt;
&lt;P&gt;Exp1: If (Valuelist(1,2) = 2, Sum(A))&lt;/P&gt;
&lt;P&gt;Exp2: If (Valuelist(1,2) = 2, Sum(B))&lt;/P&gt;
&lt;P&gt;Exp3: If (Valuelist(1,2) = 1, Sum(C))&lt;/P&gt;
&lt;P&gt;Exp4: If (Valuelist(1,2) = 1, Sum(D))&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; Need expression labels in legends&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Manish_0-1738155402225.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/177033i78A6E1B2D1B8FEB7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Manish_0-1738155402225.png" alt="Manish_0-1738155402225.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2025 12:58:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Stacked-bar-chart-Issue-in-qlik-sense/m-p/2503535#M103620</guid>
      <dc:creator>Manish</dc:creator>
      <dc:date>2025-01-29T12:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: Stacked bar chart Issue in qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/Stacked-bar-chart-Issue-in-qlik-sense/m-p/2503691#M103640</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/77128"&gt;@Manish&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;As soon as you add 2 dimensions using the bar chart you can only add 1 measure, but using 1 dimension you can add multiple measures.&lt;/P&gt;
&lt;P&gt;Below is my result - I needed to add the ValueList values to the actual Dimesion to force "2 values" for the same month, Not really pretty but it works&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JandreKillianRIC_0-1738226049339.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/177072iEF9AF41D7B6D5056/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JandreKillianRIC_0-1738226049339.png" alt="JandreKillianRIC_0-1738226049339.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is my script&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Table:
Load 
	Date(Date, 'MMM YYYY') as Date,
    A, 
    B,
    C,
    D;
Load * Inline [
Date,A,B,C,D
45292,87,38,4,19
45323,53,77,7,9
45352,67,22,13,8
45383,43,51,7,8
45413,38,20,20,19
45444,14,53,17,1
45474,30,56,5,12
45505,70,42,8,11
45536,92,62,13,4
45566,62,37,9,17
45597,89,29,5,20
45627,10,58,7,11
];

ValueListTmp: //Creating a single dimensio that has valuelist(1,2) added
Load 
	Distinct Date
Resident Table;

Join (ValueListTmp)
Load 
	RecNo() as ValueList
AutoGenerate(2); // This will give us 2 values

ValueList:
Load 
	Date, 
    Date&amp;amp;' '&amp;amp;ValueList as Dimesion, 
	ValueList
Resident ValueListTmp;

Drop Table ValueListTmp; 


&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Measures are just like you had them&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JandreKillianRIC_1-1738226127930.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/177073iCF214C87452AB1D8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JandreKillianRIC_1-1738226127930.png" alt="JandreKillianRIC_1-1738226127930.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards Jandre&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2025 08:35:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Stacked-bar-chart-Issue-in-qlik-sense/m-p/2503691#M103640</guid>
      <dc:creator>JandreKillianRIC</dc:creator>
      <dc:date>2025-01-30T08:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: Stacked bar chart Issue in qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/Stacked-bar-chart-Issue-in-qlik-sense/m-p/2503745#M103658</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Jandre&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Many thanks for your reply. Really appreciate it .&lt;/P&gt;
&lt;P&gt;This is very close to what I want.&lt;/P&gt;
&lt;P&gt;Can we have a single month year values instead of every month year coming twice?&lt;/P&gt;
&lt;P&gt;For example, instead of Dec 2024 1 &amp;amp; Dec 2024 2 , can we have only Dec 2024 ?&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2025 13:05:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Stacked-bar-chart-Issue-in-qlik-sense/m-p/2503745#M103658</guid>
      <dc:creator>Manish</dc:creator>
      <dc:date>2025-01-30T13:05:38Z</dc:date>
    </item>
    <item>
      <title>Re: Stacked bar chart Issue in qlik sense</title>
      <link>https://community.qlik.com/t5/App-Development/Stacked-bar-chart-Issue-in-qlik-sense/m-p/2503751#M103661</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/77128"&gt;@Manish&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately not, Then if will revert back to 1 Dimension per bar and you wont get that split.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You might be able to use spaces... like 1 space (As ValueList 1 and 2 spaces as ValueList 2) This will still show Jan 2024 (Twice) but not have the Jan 2024 1 and Jan 2024 2.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards Jandre&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2025 13:19:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Stacked-bar-chart-Issue-in-qlik-sense/m-p/2503751#M103661</guid>
      <dc:creator>JandreKillianRIC</dc:creator>
      <dc:date>2025-01-30T13:19:43Z</dc:date>
    </item>
  </channel>
</rss>

