<?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 Stacked Bar Chart Based on Field Count in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Stacked-Bar-Chart-Based-on-Field-Count/m-p/400317#M563737</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to make a somewhat complex Stacked Bar Chart. Each stack in the chart should be based on how many times a certain field occurs within that time period. I have the period as my dimension. I have built similar charts by hardcoding expressions for each "Stack" in the chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ie. I could have three stack's by making three expressions:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Stack 1: (sum(if(Area = 'Chicago', 1, 0))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Stack 2: (sum(if(Area = 'New York', 1, 0))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Stack 3: (sum(if(Area = 'Atlanta', 1, 0))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this example I am using Area as my field. The problem I have is that I have about 500 possible 'Area's'. Do I have to make 500 expressions for each possible option? I really just want the top 20 occuring Area's displayed on the chart. Is there a way to count / display just the top occuring area's? How do I do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Feb 2013 15:00:27 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-02-04T15:00:27Z</dc:date>
    <item>
      <title>Stacked Bar Chart Based on Field Count</title>
      <link>https://community.qlik.com/t5/QlikView/Stacked-Bar-Chart-Based-on-Field-Count/m-p/400317#M563737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to make a somewhat complex Stacked Bar Chart. Each stack in the chart should be based on how many times a certain field occurs within that time period. I have the period as my dimension. I have built similar charts by hardcoding expressions for each "Stack" in the chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ie. I could have three stack's by making three expressions:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Stack 1: (sum(if(Area = 'Chicago', 1, 0))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Stack 2: (sum(if(Area = 'New York', 1, 0))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Stack 3: (sum(if(Area = 'Atlanta', 1, 0))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this example I am using Area as my field. The problem I have is that I have about 500 possible 'Area's'. Do I have to make 500 expressions for each possible option? I really just want the top 20 occuring Area's displayed on the chart. Is there a way to count / display just the top occuring area's? How do I do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2013 15:00:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stacked-Bar-Chart-Based-on-Field-Count/m-p/400317#M563737</guid>
      <dc:creator />
      <dc:date>2013-02-04T15:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: Stacked Bar Chart Based on Field Count</title>
      <link>https://community.qlik.com/t5/QlikView/Stacked-Bar-Chart-Based-on-Field-Count/m-p/400318#M563738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use Area as dimension and then use dimension limits (is the second sheet in the properties of the object) to limnit first 20 values ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2013 15:15:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stacked-Bar-Chart-Based-on-Field-Count/m-p/400318#M563738</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2013-02-04T15:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: Stacked Bar Chart Based on Field Count</title>
      <link>https://community.qlik.com/t5/QlikView/Stacked-Bar-Chart-Based-on-Field-Count/m-p/400319#M563739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That works. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2013 15:31:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stacked-Bar-Chart-Based-on-Field-Count/m-p/400319#M563739</guid>
      <dc:creator />
      <dc:date>2013-02-04T15:31:36Z</dc:date>
    </item>
  </channel>
</rss>

