<?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: Multiple fields in one bar chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Multiple-fields-in-one-bar-chart/m-p/455530#M1166670</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This type of problem is best solved by using intervalmatch in your load script. Check the manual for intervalmatch and search here as there are many posts on this topic. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need more assistance, then I suggest that you upload your qvw file (and source files if possible) and someone will be able to provide more detailed help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Oct 2012 06:41:07 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2012-10-01T06:41:07Z</dc:date>
    <item>
      <title>Multiple fields in one bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-fields-in-one-bar-chart/m-p/455528#M1166665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys, I'm new to qlikview, so I hope you can help me out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my objective. I got 4 fields with 200+ records in each fields, timing from 03:00 to 07:00hrs (Eg. PREPLAN_DT, DISPATCH_TIME)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to create a bucket of 10mins interval. Eg. 03:00, 03:10, 03:20 . . . 06:50, 07:00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So for each field, any records falls within the range will go to the bucket.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My y-axis will show the count of each field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So 03:00 timing with have 4columns with different counts based on the fields and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did alot of research on the net and found that I can create the bucket in dimension with something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if([PREPLAN_DT] &amp;gt;= Timestamp#('03:00','hh:mm') and [PREPLAN_DT]&amp;lt;= Timestamp#('03:10','hh:mm'),'03:00', &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if([PREPLAN_DT] &amp;gt;= Timestamp#('03:10','hh:mm') and [PREPLAN_DT]&amp;lt;= Timestamp#('03:20','hh:mm'),'03:10',&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but when I put all 4 fields in 'expression' like Count(DISPATCH_TIME) and Count(PREPLAN_DT), all four columns display the same count.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is appreciated. Thanks in advanced.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2012 04:08:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-fields-in-one-bar-chart/m-p/455528#M1166665</guid>
      <dc:creator />
      <dc:date>2012-10-01T04:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple fields in one bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-fields-in-one-bar-chart/m-p/455529#M1166667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG __jive_id="22733" class="jive-image-thumbnail jive-image" onclick="" alt="desred result.png" src="/legacyfs/online/22733_desred result.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my desired result. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2012 06:39:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-fields-in-one-bar-chart/m-p/455529#M1166667</guid>
      <dc:creator />
      <dc:date>2012-10-01T06:39:56Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple fields in one bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-fields-in-one-bar-chart/m-p/455530#M1166670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This type of problem is best solved by using intervalmatch in your load script. Check the manual for intervalmatch and search here as there are many posts on this topic. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need more assistance, then I suggest that you upload your qvw file (and source files if possible) and someone will be able to provide more detailed help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2012 06:41:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-fields-in-one-bar-chart/m-p/455530#M1166670</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2012-10-01T06:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple fields in one bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-fields-in-one-bar-chart/m-p/455531#M1166673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;I do &lt;SPAN&gt;alot&lt;/SPAN&gt; of trail and error but to no avail. Seriously require some help. &lt;/SPAN&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my qvw and source file&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2012 07:43:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-fields-in-one-bar-chart/m-p/455531#M1166673</guid>
      <dc:creator />
      <dc:date>2012-10-01T07:43:06Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple fields in one bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-fields-in-one-bar-chart/m-p/455532#M1166675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any idea anyone? It's important to make this work. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2012 10:06:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-fields-in-one-bar-chart/m-p/455532#M1166675</guid>
      <dc:creator />
      <dc:date>2012-10-01T10:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple fields in one bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-fields-in-one-bar-chart/m-p/455533#M1166676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The data file you uploaded does not match the load statement in the qvw file&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2012 13:19:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-fields-in-one-bar-chart/m-p/455533#M1166676</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2012-10-02T13:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple fields in one bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-fields-in-one-bar-chart/m-p/455534#M1166677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Sorry about that. Now it should work. Place the excel in the same folder as the .qvw &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the one attached in this reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks alot for your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2012 14:46:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-fields-in-one-bar-chart/m-p/455534#M1166677</guid>
      <dc:creator />
      <dc:date>2012-10-02T14:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple fields in one bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-fields-in-one-bar-chart/m-p/455535#M1166678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, i tried to calculate it in the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;edit your Load script;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD TIME(FLOOR(DISPT_DT,0.006944444444),'hh:mm') AS Time,&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the graph you only need to COUNT(DisptTime).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it might help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;edit:&lt;/P&gt;&lt;P&gt;i changed it and used this script (details see attached File):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PT:&lt;/P&gt;&lt;P&gt;LOAD TIME(FLOOR(PreplanTime,0.006944444444),'hh:mm') AS Time,&lt;/P&gt;&lt;P&gt; PreplanTime AS PT&lt;/P&gt;&lt;P&gt;RESIDENT Table1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DT:&lt;/P&gt;&lt;P&gt;LOAD TIME(FLOOR(DisptTime,0.006944444444),'hh:mm') AS Time,&lt;/P&gt;&lt;P&gt; DisptTime AS DT&lt;/P&gt;&lt;P&gt;RESIDENT Table1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KS:&lt;/P&gt;&lt;P&gt;LOAD TIME(FLOOR(Key_Start,0.006944444444),'hh:mm') AS Time,&lt;/P&gt;&lt;P&gt; Key_Start AS KS&lt;/P&gt;&lt;P&gt;RESIDENT Table1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KE:&lt;/P&gt;&lt;P&gt;LOAD TIME(FLOOR(Key_End,0.006944444444),'hh:mm') AS Time,&lt;/P&gt;&lt;P&gt; Key_End AS KE&lt;/P&gt;&lt;P&gt;RESIDENT Table1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2012 14:55:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-fields-in-one-bar-chart/m-p/455535#M1166678</guid>
      <dc:creator>kruppas78</dc:creator>
      <dc:date>2012-10-02T14:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple fields in one bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-fields-in-one-bar-chart/m-p/455536#M1166679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefan,&lt;/P&gt;&lt;P&gt;I followed your instruction and it does work but my ultimate objective is to include DISPT_DT, KEY_START_DT, KEY_END_DT, all three columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The desire result should be like this image &lt;IMG __jive_id="22833" class="jive-image-thumbnail jive-image" onclick="" alt="desred+result.png" src="https://community.qlik.com/legacyfs/online/22833_desred+result.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;but I always got this kind of pattern &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="22834" class="jive-image-thumbnail jive-image" onclick="" alt="NotIwant.png" src="https://community.qlik.com/legacyfs/online/22834_NotIwant.png" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2012 15:14:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-fields-in-one-bar-chart/m-p/455536#M1166679</guid>
      <dc:creator />
      <dc:date>2012-10-02T15:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple fields in one bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-fields-in-one-bar-chart/m-p/455537#M1166680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, i edit my post and attached a file with a better output.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2012 15:19:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-fields-in-one-bar-chart/m-p/455537#M1166680</guid>
      <dc:creator>kruppas78</dc:creator>
      <dc:date>2012-10-02T15:19:19Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple fields in one bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-fields-in-one-bar-chart/m-p/455538#M1166681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefan, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I couldnt open the file as I'm using personal edition. Do you mind post screenshot or cut/paste the solution here. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Very much appreciated. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2012 15:21:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-fields-in-one-bar-chart/m-p/455538#M1166681</guid>
      <dc:creator />
      <dc:date>2012-10-02T15:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple fields in one bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-fields-in-one-bar-chart/m-p/455539#M1166682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't need to post the solution. I manage to figure out myself the rest of it.&amp;nbsp; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;IMG __jive_id="22838" class="jive-image-thumbnail jive-image" onclick="" alt="Works.png" src="https://community.qlik.com/legacyfs/online/22838_Works.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;Thanks alot for your help. Really save my life.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have one last problem. Open the image and notice 06:00 suddenly jump to 06:20. Anyway I could also display 06:10 even if it is empty?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2012 15:30:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-fields-in-one-bar-chart/m-p/455539#M1166682</guid>
      <dc:creator />
      <dc:date>2012-10-02T15:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple fields in one bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-fields-in-one-bar-chart/m-p/455540#M1166683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can show everyempty timeperiod.&lt;/P&gt;&lt;P&gt;Go to Chart Properties -&amp;gt; presentation -&amp;gt; and disable "supress Zero-Values"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If You dont want to see the Values above 06:00 you can use a WHERE clause.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2012 15:42:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-fields-in-one-bar-chart/m-p/455540#M1166683</guid>
      <dc:creator>kruppas78</dc:creator>
      <dc:date>2012-10-02T15:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple fields in one bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-fields-in-one-bar-chart/m-p/455541#M1166684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It doesn't work, I also tried unchecked 'Suppress Missing' and 'Zero on bars' in Presentation, also unchecked 'Suppressed when value is null' in dimension. And I also checked 'Show all values' in dimension&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2012 15:48:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-fields-in-one-bar-chart/m-p/455541#M1166684</guid>
      <dc:creator />
      <dc:date>2012-10-02T15:48:47Z</dc:date>
    </item>
  </channel>
</rss>

