<?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 Gantt problems in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Gantt-problems/m-p/422812#M562177</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I succesfully implemented a Gantt using bar charts, which came out (IMHO) really awesome, with lots of functionalities &lt;/P&gt;&lt;P&gt;As I have about 500 Gantt's to produce, each with a varying number of activities from 1 to 150 (...), this chart can really save my life but in order to be really able to use it, I have some more problems to resolve which are:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Y axis (the calendar):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;It seem I can't decide the scale of the calendar (which depends by the format of the first expression)&lt;/P&gt;&lt;P&gt;What I mean is that I'd like to show "qq/yy" or "mm/yy" conditionally (if the range is &amp;gt;1year or not).&lt;/P&gt;&lt;P&gt;If I work with the number format on the graphic properties, I can apply a MM/YY format, but I can't apply QQ/YY and from the properties I can't do it dinamically: is there any other way?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Report and size of the bars:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;As I'll need to produce an automatic report for each project, I'll need to split the Gantt in different pages when there are too many activities (I have up to 150). I also want to preserve the size of the bars (I don't want them to be stretched when there is only one activity). I haven't seen any possibility to split charts like tables when they are too long.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;I'm thinking about creating a new field ('Ganttcount') in the load script (but really dunno how) giving a number to each activity that will represent the number of the gantt, and use to that field to cycle the chart within each project. So if I want not more than 15 activities in a gantt and I have a project with 30, the first 15 will have Ganttcount:1 and the second 15 will have Ganttcount:&lt;SPAN style="font-size: 10pt;"&gt;2. Any other suggestion?&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;I'd like to fix the size of the bars (I'll never have more than 15 activities with the point above, but I'll still can have less than 15...). The only thing I could think about, is a procedure to dinamically create new fake activities during the loading script in order to always have 15 activities per gantt (so in a project with only one activity, I'll create 14 fake invisible activities).... Is this really the only solution???? It sounds so complex..&lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Mar 2013 12:48:37 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-03-08T12:48:37Z</dc:date>
    <item>
      <title>Gantt problems</title>
      <link>https://community.qlik.com/t5/QlikView/Gantt-problems/m-p/422812#M562177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I succesfully implemented a Gantt using bar charts, which came out (IMHO) really awesome, with lots of functionalities &lt;/P&gt;&lt;P&gt;As I have about 500 Gantt's to produce, each with a varying number of activities from 1 to 150 (...), this chart can really save my life but in order to be really able to use it, I have some more problems to resolve which are:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Y axis (the calendar):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;It seem I can't decide the scale of the calendar (which depends by the format of the first expression)&lt;/P&gt;&lt;P&gt;What I mean is that I'd like to show "qq/yy" or "mm/yy" conditionally (if the range is &amp;gt;1year or not).&lt;/P&gt;&lt;P&gt;If I work with the number format on the graphic properties, I can apply a MM/YY format, but I can't apply QQ/YY and from the properties I can't do it dinamically: is there any other way?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Report and size of the bars:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;As I'll need to produce an automatic report for each project, I'll need to split the Gantt in different pages when there are too many activities (I have up to 150). I also want to preserve the size of the bars (I don't want them to be stretched when there is only one activity). I haven't seen any possibility to split charts like tables when they are too long.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;I'm thinking about creating a new field ('Ganttcount') in the load script (but really dunno how) giving a number to each activity that will represent the number of the gantt, and use to that field to cycle the chart within each project. So if I want not more than 15 activities in a gantt and I have a project with 30, the first 15 will have Ganttcount:1 and the second 15 will have Ganttcount:&lt;SPAN style="font-size: 10pt;"&gt;2. Any other suggestion?&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;I'd like to fix the size of the bars (I'll never have more than 15 activities with the point above, but I'll still can have less than 15...). The only thing I could think about, is a procedure to dinamically create new fake activities during the loading script in order to always have 15 activities per gantt (so in a project with only one activity, I'll create 14 fake invisible activities).... Is this really the only solution???? It sounds so complex..&lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2013 12:48:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Gantt-problems/m-p/422812#M562177</guid>
      <dc:creator />
      <dc:date>2013-03-08T12:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: Gantt problems</title>
      <link>https://community.qlik.com/t5/QlikView/Gantt-problems/m-p/422813#M562178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;well, I don't know if someone can help me, I've resolved most of my problems but I still can't make the X scale to work properly and I don't really have a clue on how to fix the steps&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="34816" class="jive-image-thumbnail jive-image" height="322" onclick="" alt="Immagine gantt.png" src="/legacyfs/online/34816_Immagine gantt.png" style="height: 322px; width: 655.219512195122px;" width="655" /&gt;&lt;/P&gt;&lt;P&gt;As you can see, when the scale is short (&amp;lt;1 year) the grid steps are so short that some labels gets repeated&lt;/P&gt;&lt;P&gt;The labels format comes from the number format of the first expression (which is MM/YY, althought the data itself is dd/mm/yyyy, which is why there are repetitions)&lt;/P&gt;&lt;P&gt;The problem is that the static step function doesn't seem to work despite all my tests:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;if I put directly a number (any number) the whole axis disappear completely (?!!!)&lt;/LI&gt;&lt;LI&gt;If I try to define the static step with a function, there isn't an effect at all, like when the option is unchecked (which may be because my expressions are wrong of course)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;what I'm trying to achieve is something like:&lt;/P&gt;&lt;P&gt;static steps: if(max(enddate)-min(startdate )&amp;lt;365, 30, 90)&lt;/P&gt;&lt;P&gt;and of course I'd also love some precision in the steps (the correct monthend() for each interval).&lt;/P&gt;&lt;P&gt;I've searched the forum and I found similar questions but I wasn't able to find/implement a solution that works here.&lt;/P&gt;&lt;P&gt;Someone has any suggestion please?&lt;/P&gt;&lt;P&gt;many thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Mar 2013 14:41:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Gantt-problems/m-p/422813#M562178</guid>
      <dc:creator />
      <dc:date>2013-03-12T14:41:07Z</dc:date>
    </item>
  </channel>
</rss>

