<?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 Creating a histogram with fixed / static X-axis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Creating-a-histogram-with-fixed-static-X-axis/m-p/241657#M92050</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've created a histogram of an age distribution with the following function&lt;/P&gt;&lt;P&gt;=Class(Aggr(birthyear ,birthyear), 5 , 'j', 1900)&lt;/P&gt;&lt;P&gt;It works fantastically except for two problems:&lt;/P&gt;&lt;P&gt;1) If the selection does not contain people in that agebucket the bucket is ommitted completely. This means that every time I make a selection the X-axis changes, making it hard to read. How do I make the X-axis fixed / static?&lt;/P&gt;&lt;P&gt;2) I'm comparing two expressions (the age distribution of the selected group, compared to that of the all the groups).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A) Count (DISTINCT NR_REL_VZD)&lt;/P&gt;&lt;P&gt;B) Count (DISTINCT {$&amp;lt;GROUP = &amp;gt;} NR_REL_VZD)&lt;/P&gt;&lt;P&gt;Unfortunately, the buckets that the Class(Aggr) function creates are based only on the selection. That means that values from the second expression B that fall outside the buckets of the first expression A are not included in the histogram and put in a seperate bucket with a blank label. Again, if I can make the X-axis static I can fix this.&lt;/P&gt;&lt;P&gt;Checking / unchecking "suppress zero values" and "suppress missing / show all values" does not work (i.e. still have problem 1 and 2). Using a continuous axis seems to work, but then the two expressions (it's a bar graph) obscure eachother as the bars cannot be plotted next to eachother.&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Does anyone know how i can make the X-axis static or have another solution to the above problem?&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;NOTE: I'm using the trail versions, so unfortunately i cannot cannot download any qvw's you post.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Oct 2010 11:55:56 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-10-20T11:55:56Z</dc:date>
    <item>
      <title>Creating a histogram with fixed / static X-axis</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-histogram-with-fixed-static-X-axis/m-p/241657#M92050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've created a histogram of an age distribution with the following function&lt;/P&gt;&lt;P&gt;=Class(Aggr(birthyear ,birthyear), 5 , 'j', 1900)&lt;/P&gt;&lt;P&gt;It works fantastically except for two problems:&lt;/P&gt;&lt;P&gt;1) If the selection does not contain people in that agebucket the bucket is ommitted completely. This means that every time I make a selection the X-axis changes, making it hard to read. How do I make the X-axis fixed / static?&lt;/P&gt;&lt;P&gt;2) I'm comparing two expressions (the age distribution of the selected group, compared to that of the all the groups).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A) Count (DISTINCT NR_REL_VZD)&lt;/P&gt;&lt;P&gt;B) Count (DISTINCT {$&amp;lt;GROUP = &amp;gt;} NR_REL_VZD)&lt;/P&gt;&lt;P&gt;Unfortunately, the buckets that the Class(Aggr) function creates are based only on the selection. That means that values from the second expression B that fall outside the buckets of the first expression A are not included in the histogram and put in a seperate bucket with a blank label. Again, if I can make the X-axis static I can fix this.&lt;/P&gt;&lt;P&gt;Checking / unchecking "suppress zero values" and "suppress missing / show all values" does not work (i.e. still have problem 1 and 2). Using a continuous axis seems to work, but then the two expressions (it's a bar graph) obscure eachother as the bars cannot be plotted next to eachother.&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Does anyone know how i can make the X-axis static or have another solution to the above problem?&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;NOTE: I'm using the trail versions, so unfortunately i cannot cannot download any qvw's you post.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Oct 2010 11:55:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-histogram-with-fixed-static-X-axis/m-p/241657#M92050</guid>
      <dc:creator />
      <dc:date>2010-10-20T11:55:56Z</dc:date>
    </item>
    <item>
      <title>Creating a histogram with fixed / static X-axis</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-histogram-with-fixed-static-X-axis/m-p/241658#M92051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post a qvw file showing your example?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Oct 2010 11:09:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-histogram-with-fixed-static-X-axis/m-p/241658#M92051</guid>
      <dc:creator />
      <dc:date>2010-10-21T11:09:16Z</dc:date>
    </item>
    <item>
      <title>Creating a histogram with fixed / static X-axis</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-histogram-with-fixed-static-X-axis/m-p/241659#M92052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kristoffer,&lt;/P&gt;&lt;P&gt;Thanks for your offer. In the meanwhile I solved my problem in the following way:&lt;/P&gt;&lt;P&gt;I created an extra table with in one column the X-axis value and in the other the desired bucket category for the histogram I was making. I then loaded it with "partial reload" and selected it as my X-axis dimension. Voila, solved!&lt;/P&gt;&lt;P&gt;If anyone knows a smarter / quicker solution, I'd be happy to hear!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Oct 2010 11:41:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-histogram-with-fixed-static-X-axis/m-p/241659#M92052</guid>
      <dc:creator />
      <dc:date>2010-10-22T11:41:32Z</dc:date>
    </item>
  </channel>
</rss>

