<?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: Combo bar Chart with two measures and two dimensions in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Combo-bar-Chart-with-two-measures-and-two-dimensions/m-p/1927469#M76372</link>
    <description>&lt;P&gt;Yes this is achievable&lt;/P&gt;
&lt;P&gt;Dimension 1 :&amp;nbsp; X - Axis&amp;nbsp; &amp;nbsp;, Just combine your dimensions using a calculated dimension&lt;/P&gt;
&lt;P&gt;Aggr(MonthYear&amp;amp;'-'&amp;amp;Type,MonthYear,Type)&amp;nbsp; &amp;nbsp; &amp;lt;&amp;lt; Assuming Type field has values Target &amp;amp; Achieved&lt;/P&gt;
&lt;P&gt;Dimension 2: simply the dimension values you want to see stacked&lt;/P&gt;
&lt;P&gt;Measure = Sum(Sales)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 06 May 2022 19:01:34 GMT</pubDate>
    <dc:creator>vinieme12</dc:creator>
    <dc:date>2022-05-06T19:01:34Z</dc:date>
    <item>
      <title>Combo bar Chart with two measures and two dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/Combo-bar-Chart-with-two-measures-and-two-dimensions/m-p/1926755#M76312</link>
      <description>&lt;P&gt;Hey,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am looking for a way to create a bar chart which has two measures and two dimensions.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Currently my chart has one measure but I would also like to add the target beside the current chart. I have had a look through the forums but cant see anything where two measures and dimensions can be combined.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Current:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tomf122_0-1651743539284.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/78736iFAE9BF8C487BC566/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tomf122_0-1651743539284.png" alt="tomf122_0-1651743539284.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Chart done in excel which I'm trying to replicate.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tomf122_1-1651743572778.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/78737i12C5083AF73084A5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tomf122_1-1651743572778.png" alt="tomf122_1-1651743572778.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Tom&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2022 09:41:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Combo-bar-Chart-with-two-measures-and-two-dimensions/m-p/1926755#M76312</guid>
      <dc:creator>tomf122</dc:creator>
      <dc:date>2022-05-05T09:41:16Z</dc:date>
    </item>
    <item>
      <title>Re: Combo bar Chart with two measures and two dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/Combo-bar-Chart-with-two-measures-and-two-dimensions/m-p/1927469#M76372</link>
      <description>&lt;P&gt;Yes this is achievable&lt;/P&gt;
&lt;P&gt;Dimension 1 :&amp;nbsp; X - Axis&amp;nbsp; &amp;nbsp;, Just combine your dimensions using a calculated dimension&lt;/P&gt;
&lt;P&gt;Aggr(MonthYear&amp;amp;'-'&amp;amp;Type,MonthYear,Type)&amp;nbsp; &amp;nbsp; &amp;lt;&amp;lt; Assuming Type field has values Target &amp;amp; Achieved&lt;/P&gt;
&lt;P&gt;Dimension 2: simply the dimension values you want to see stacked&lt;/P&gt;
&lt;P&gt;Measure = Sum(Sales)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 May 2022 19:01:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Combo-bar-Chart-with-two-measures-and-two-dimensions/m-p/1927469#M76372</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2022-05-06T19:01:34Z</dc:date>
    </item>
    <item>
      <title>Re: Combo bar Chart with two measures and two dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/Combo-bar-Chart-with-two-measures-and-two-dimensions/m-p/1927500#M76378</link>
      <description>&lt;P&gt;you actually need to take it one step further.&amp;nbsp; instead of AGGR in the dimension, you should create a dual which is the concat of the month and type (target or actual) and the number part which allows you to sort it properly.&amp;nbsp; if you dont youll have a hard time ordering JAN, FEB, MAR...&lt;BR /&gt;&lt;BR /&gt;also in the dim you dont need the aggr.&amp;nbsp; you will get the same result.&amp;nbsp; what is key here is the color:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2022-05-06 at 4.27.01 PM.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/78857iF11296DF7EAED860/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screen Shot 2022-05-06 at 4.27.01 PM.png" alt="Screen Shot 2022-05-06 at 4.27.01 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; for example i used DIM - A,B,C:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;=if(type='TARGET',pick(match(dim,'A','B','C'),ARGB(100,200,0,0),ARGB(100,0,200,0),ARGB(100,0,0,200)),&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;pick(match(dim,'A','B','C'),ARGB(200,200,0,0),ARGB(200,0,200,0),ARGB(200,0,0,200)))&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;but you should be able to find a more dynamic way of assigning color and alpha value&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 May 2022 20:36:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Combo-bar-Chart-with-two-measures-and-two-dimensions/m-p/1927500#M76378</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2022-05-06T20:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: Combo bar Chart with two measures and two dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/Combo-bar-Chart-with-two-measures-and-two-dimensions/m-p/1928394#M76447</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;"if you dont youll have a hard time ordering JAN, FEB, MAR.."&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;You can sort by expression&lt;/P&gt;
&lt;P&gt;under sorting &amp;gt;&amp;gt; sort by Expression &amp;gt;&amp;gt; =MonthNum&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2022 08:46:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Combo-bar-Chart-with-two-measures-and-two-dimensions/m-p/1928394#M76447</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2022-05-10T08:46:56Z</dc:date>
    </item>
  </channel>
</rss>

