<?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 Qlik Chart split by Dimension in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Qlik-Chart-split-by-Dimension/m-p/1802834#M65130</link>
    <description>&lt;P&gt;Hi, I am developing an App. I have a chart in Qlik which uses expressions to feed the data. I have two alternative states set up StateA and StateB. I am trying to get the bar chart to have two bars. One for each dimension and the data will be then stacked by different measures. Is this possible? If so does anyone know how i would the alternative states as dimensions?&lt;/P&gt;</description>
    <pubDate>Mon, 26 Apr 2021 19:24:16 GMT</pubDate>
    <dc:creator>Rogers2212</dc:creator>
    <dc:date>2021-04-26T19:24:16Z</dc:date>
    <item>
      <title>Qlik Chart split by Dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Chart-split-by-Dimension/m-p/1802834#M65130</link>
      <description>&lt;P&gt;Hi, I am developing an App. I have a chart in Qlik which uses expressions to feed the data. I have two alternative states set up StateA and StateB. I am trying to get the bar chart to have two bars. One for each dimension and the data will be then stacked by different measures. Is this possible? If so does anyone know how i would the alternative states as dimensions?&lt;/P&gt;</description>
      <pubDate>Mon, 26 Apr 2021 19:24:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Chart-split-by-Dimension/m-p/1802834#M65130</guid>
      <dc:creator>Rogers2212</dc:creator>
      <dc:date>2021-04-26T19:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Chart split by Dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Chart-split-by-Dimension/m-p/1805444#M65472</link>
      <description>&lt;P&gt;Yeah buddy.&amp;nbsp;&lt;/P&gt;&lt;P&gt;And the best part is you get to learn a super top secret, sworn to secrecy, cool function of Qlik ... ValueList.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the Dimension you simply put this:&amp;nbsp;&lt;STRONG&gt;=ValueList('State 1', 'State 2')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Then in your expressions you refer to the values by comparing as it iterates the dimension like this:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IF(ValueList('State 1', 'State 2')='State 1', Sum({'State 1'}StockAmount), Sum({'State 2'}StockAmount))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Notice that my Alternate States happen to be called State 1 and State 2 but that is just the names. You can have as many values you wish in your value list (like 3, 4, 10 alternate states).&lt;/P&gt;&lt;P&gt;You can also have multiple measures that refer to the valuelist as well so that you can stack the bars.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dalton_Ruer_0-1620220282778.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/54341i740A8DF1959D53A2/image-size/large?v=v2&amp;amp;px=999" role="button" title="Dalton_Ruer_0-1620220282778.png" alt="Dalton_Ruer_0-1620220282778.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now remember you are hereby sworn to secrecy about the ValueList function and the cool things you can do with it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 May 2021 13:12:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Chart-split-by-Dimension/m-p/1805444#M65472</guid>
      <dc:creator>Dalton_Ruer</dc:creator>
      <dc:date>2021-05-05T13:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Chart split by Dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Chart-split-by-Dimension/m-p/1807224#M65693</link>
      <description>&lt;P&gt;This works perfectly, thank you. That has enhanced my dash, big time!.&lt;/P&gt;</description>
      <pubDate>Wed, 12 May 2021 08:54:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Chart-split-by-Dimension/m-p/1807224#M65693</guid>
      <dc:creator>Rogers2212</dc:creator>
      <dc:date>2021-05-12T08:54:08Z</dc:date>
    </item>
  </channel>
</rss>

