<?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: Re: Adding expression based on alternative state in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Adding-expression-based-on-alternative-state/m-p/583360#M216633</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or like this with a bit more intuitive dimension filtering.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Apr 2014 23:03:48 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2014-04-30T23:03:48Z</dc:date>
    <item>
      <title>Adding expression based on alternative state</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-expression-based-on-alternative-state/m-p/583358#M216631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a stacked bar chart with two dimensions:&lt;/P&gt;&lt;P&gt;&amp;nbsp; 1) Date - shown along the X axis as a bar chart&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2) Rule name - shown in the legend (stacked on each date bar with sum at top)&lt;/P&gt;&lt;P&gt;And one expression:&lt;/P&gt;&lt;P&gt;&amp;nbsp; 1) Count the number of logs generated by each rule&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I need to add the ability to compare two states using separate bars, yet keep the formatting the same. So, I tried the following:&lt;/P&gt;&lt;P&gt;Dimensions:&lt;/P&gt;&lt;P&gt; 1) Date (same)&lt;/P&gt;&lt;P&gt; 2) Rule Name (same)&lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;P&gt; 1) Count {[StateA]} - same expression&lt;/P&gt;&lt;P&gt; 2) Count {[StateB]} - same expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this results in the two stated being displayed in the legend with the rules listed long the X axis along with the dates. How do I make it so the two states are displayed along the X axis and the rules remain in the legend and stacked? Simple screenshots below for better description:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="AlternativeStates.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/58228_AlternativeStates.jpg" style="width: 620px; height: 516px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2014 20:26:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-expression-based-on-alternative-state/m-p/583358#M216631</guid>
      <dc:creator />
      <dc:date>2014-04-30T20:26:29Z</dc:date>
    </item>
    <item>
      <title>Re: Adding expression based on alternative state</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-expression-based-on-alternative-state/m-p/583359#M216632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe like attached, using a third calculated synthetic dimension for the state view.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2014 21:33:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-expression-based-on-alternative-state/m-p/583359#M216632</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2014-04-30T21:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Adding expression based on alternative state</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-expression-based-on-alternative-state/m-p/583360#M216633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or like this with a bit more intuitive dimension filtering.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2014 23:03:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-expression-based-on-alternative-state/m-p/583360#M216633</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2014-04-30T23:03:48Z</dc:date>
    </item>
  </channel>
</rss>

