<?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 Problem in grid chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-in-grid-chart/m-p/159530#M34138</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 want to make a grid chart, based on a calculated dimension.&lt;/P&gt;&lt;P&gt;I have a list of persons :&lt;/P&gt;&lt;P&gt;[CODE]&lt;/P&gt;&lt;P&gt;Person:&lt;BR /&gt; LOAD * INLINE [&lt;BR /&gt; Age, Sexe, Nom&lt;BR /&gt; 18, F, Sabrina&lt;BR /&gt; 18, M, Kevin&lt;BR /&gt; 19, M, Simon&lt;BR /&gt; 21, F, Vanessa&lt;BR /&gt; 21, F, Muriele&lt;BR /&gt; 21, F, Samantha&lt;BR /&gt; 21, M, Mickael&lt;BR /&gt; 30, M, Bob1&lt;BR /&gt; 30, M, Bob2&lt;BR /&gt; 30, M, Bob3&lt;BR /&gt; 30, M, Bob4&lt;BR /&gt; 30, M, Bob5&lt;BR /&gt; 30, M, Bob6&lt;BR /&gt; 30, M, Bob7&lt;BR /&gt; 30, M, Bob8&lt;BR /&gt; ];&lt;/P&gt;&lt;P&gt;[/CODE]&lt;/P&gt;&lt;P&gt;I want to make a chart having in x-axis the age, and in the y-axis the count of person having this age.&lt;/P&gt;&lt;P&gt;My problem is that I don't know how to display the other values in the scale.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At first, my chart looked like this :&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-1162_sourceID:1162" /&gt;&lt;/P&gt;&lt;P&gt;Having the same space between "18" and "19" than between "21" and "30".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I managed to display all the ages with this code :&lt;/P&gt;&lt;P&gt;&lt;PRE&gt;&lt;/PRE&gt;&lt;/P&gt;&lt;P&gt;TmpTable:&lt;BR /&gt; LOAD max(Age) AS tmp_max,&lt;BR /&gt; min(Age) AS tmp_min&lt;BR /&gt; RESIDENT Person;&lt;BR /&gt; LET maxAge = peek('tmp_max', 0, 'TmpTable');&lt;BR /&gt; LET minAge = peek('tmp_min', 0, 'TmpTable');&lt;BR /&gt; DROP TABLE TmpTable;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; LstAges:&lt;BR /&gt; LOAD&lt;BR /&gt; $(minAge) + RowNo() - 1 AS Age&lt;BR /&gt; AUTOGENERATE 1&lt;BR /&gt; WHILE IterNo() &amp;lt;= $(maxAge) - $(minAge);&lt;BR /&gt; &lt;/P&gt;&lt;P&gt;That gave me the following chart :&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-1163_sourceID:1163" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't want to use the same trick for the count of ages, because it's in my real project a very complex set analysis formula I cannot compute in the loading script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;How can I say to the graph "display all values (1 to &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; in the y-axis" ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Feb 2010 11:59:20 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-02-25T11:59:20Z</dc:date>
    <item>
      <title>Problem in grid chart</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-in-grid-chart/m-p/159530#M34138</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 want to make a grid chart, based on a calculated dimension.&lt;/P&gt;&lt;P&gt;I have a list of persons :&lt;/P&gt;&lt;P&gt;[CODE]&lt;/P&gt;&lt;P&gt;Person:&lt;BR /&gt; LOAD * INLINE [&lt;BR /&gt; Age, Sexe, Nom&lt;BR /&gt; 18, F, Sabrina&lt;BR /&gt; 18, M, Kevin&lt;BR /&gt; 19, M, Simon&lt;BR /&gt; 21, F, Vanessa&lt;BR /&gt; 21, F, Muriele&lt;BR /&gt; 21, F, Samantha&lt;BR /&gt; 21, M, Mickael&lt;BR /&gt; 30, M, Bob1&lt;BR /&gt; 30, M, Bob2&lt;BR /&gt; 30, M, Bob3&lt;BR /&gt; 30, M, Bob4&lt;BR /&gt; 30, M, Bob5&lt;BR /&gt; 30, M, Bob6&lt;BR /&gt; 30, M, Bob7&lt;BR /&gt; 30, M, Bob8&lt;BR /&gt; ];&lt;/P&gt;&lt;P&gt;[/CODE]&lt;/P&gt;&lt;P&gt;I want to make a chart having in x-axis the age, and in the y-axis the count of person having this age.&lt;/P&gt;&lt;P&gt;My problem is that I don't know how to display the other values in the scale.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At first, my chart looked like this :&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-1162_sourceID:1162" /&gt;&lt;/P&gt;&lt;P&gt;Having the same space between "18" and "19" than between "21" and "30".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I managed to display all the ages with this code :&lt;/P&gt;&lt;P&gt;&lt;PRE&gt;&lt;/PRE&gt;&lt;/P&gt;&lt;P&gt;TmpTable:&lt;BR /&gt; LOAD max(Age) AS tmp_max,&lt;BR /&gt; min(Age) AS tmp_min&lt;BR /&gt; RESIDENT Person;&lt;BR /&gt; LET maxAge = peek('tmp_max', 0, 'TmpTable');&lt;BR /&gt; LET minAge = peek('tmp_min', 0, 'TmpTable');&lt;BR /&gt; DROP TABLE TmpTable;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; LstAges:&lt;BR /&gt; LOAD&lt;BR /&gt; $(minAge) + RowNo() - 1 AS Age&lt;BR /&gt; AUTOGENERATE 1&lt;BR /&gt; WHILE IterNo() &amp;lt;= $(maxAge) - $(minAge);&lt;BR /&gt; &lt;/P&gt;&lt;P&gt;That gave me the following chart :&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-1163_sourceID:1163" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't want to use the same trick for the count of ages, because it's in my real project a very complex set analysis formula I cannot compute in the loading script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;How can I say to the graph "display all values (1 to &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; in the y-axis" ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2010 11:59:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-in-grid-chart/m-p/159530#M34138</guid>
      <dc:creator />
      <dc:date>2010-02-25T11:59:20Z</dc:date>
    </item>
  </channel>
</rss>

