<?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 Reference Line on Y Axis when using time in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Reference-Line-on-Y-Axis-when-using-time/m-p/318620#M584802</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a chart that has Times on the Y Axis created with an time(floor(ADate, 1/24),'hh TT') as Chart_Time expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6 AM&lt;/P&gt;&lt;P&gt;7 AM&lt;/P&gt;&lt;P&gt;8 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to add a vertical reference line on 7 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=7&lt;/P&gt;&lt;P&gt;='7'&lt;/P&gt;&lt;P&gt;='7 AM'&lt;/P&gt;&lt;P&gt;=time('07 AM','hh TT')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and haven't hit on it, any thoughts? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Sep 2011 18:01:05 GMT</pubDate>
    <dc:creator>mellerbeck</dc:creator>
    <dc:date>2011-09-01T18:01:05Z</dc:date>
    <item>
      <title>Reference Line on Y Axis when using time</title>
      <link>https://community.qlik.com/t5/QlikView/Reference-Line-on-Y-Axis-when-using-time/m-p/318620#M584802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a chart that has Times on the Y Axis created with an time(floor(ADate, 1/24),'hh TT') as Chart_Time expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6 AM&lt;/P&gt;&lt;P&gt;7 AM&lt;/P&gt;&lt;P&gt;8 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to add a vertical reference line on 7 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=7&lt;/P&gt;&lt;P&gt;='7'&lt;/P&gt;&lt;P&gt;='7 AM'&lt;/P&gt;&lt;P&gt;=time('07 AM','hh TT')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and haven't hit on it, any thoughts? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Sep 2011 18:01:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reference-Line-on-Y-Axis-when-using-time/m-p/318620#M584802</guid>
      <dc:creator>mellerbeck</dc:creator>
      <dc:date>2011-09-01T18:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: Reference Line on Y Axis when using time</title>
      <link>https://community.qlik.com/t5/QlikView/Reference-Line-on-Y-Axis-when-using-time/m-p/318621#M584803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, have you tried in the axis tab of your chart props change the dimension axis to continus, then you can add a reference line (there is a radio button to allow this after you click add.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2011 14:53:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reference-Line-on-Y-Axis-when-using-time/m-p/318621#M584803</guid>
      <dc:creator>sbaldwin</dc:creator>
      <dc:date>2011-09-06T14:53:48Z</dc:date>
    </item>
    <item>
      <title>Reference Line on Y Axis when using time</title>
      <link>https://community.qlik.com/t5/QlikView/Reference-Line-on-Y-Axis-when-using-time/m-p/318622#M584804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;Please can you post the sample QV document? Possible?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Cheers - DV&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2011 15:03:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reference-Line-on-Y-Axis-when-using-time/m-p/318622#M584804</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2011-09-06T15:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: Reference Line on Y Axis when using time</title>
      <link>https://community.qlik.com/t5/QlikView/Reference-Line-on-Y-Axis-when-using-time/m-p/318623#M584805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;something like this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2011 15:19:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reference-Line-on-Y-Axis-when-using-time/m-p/318623#M584805</guid>
      <dc:creator>sbaldwin</dc:creator>
      <dc:date>2011-09-06T15:19:22Z</dc:date>
    </item>
    <item>
      <title>Reference Line on Y Axis when using time</title>
      <link>https://community.qlik.com/t5/QlikView/Reference-Line-on-Y-Axis-when-using-time/m-p/318624#M584806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe that time is represented by the decimal places in numerical representation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried &lt;/P&gt;&lt;P&gt;=7 / 24 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as expression to represent 7 am?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2011 15:26:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reference-Line-on-Y-Axis-when-using-time/m-p/318624#M584806</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-09-06T15:26:08Z</dc:date>
    </item>
    <item>
      <title>Re: Reference Line on Y Axis when using time</title>
      <link>https://community.qlik.com/t5/QlikView/Reference-Line-on-Y-Axis-when-using-time/m-p/318625#M584807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks all, still struggling with this. I attempted swuehl suggestion but not joy &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt; attached is an example of the chart I am trying to add the vertical time line at 7 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2011 17:54:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reference-Line-on-Y-Axis-when-using-time/m-p/318625#M584807</guid>
      <dc:creator>mellerbeck</dc:creator>
      <dc:date>2011-09-09T17:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: Reference Line on Y Axis when using time</title>
      <link>https://community.qlik.com/t5/QlikView/Reference-Line-on-Y-Axis-when-using-time/m-p/318626#M584808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks sbaldwin, very close but the dimension is actually in time format&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2011 17:54:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reference-Line-on-Y-Axis-when-using-time/m-p/318626#M584808</guid>
      <dc:creator>mellerbeck</dc:creator>
      <dc:date>2011-09-09T17:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: Reference Line on Y Axis when using time</title>
      <link>https://community.qlik.com/t5/QlikView/Reference-Line-on-Y-Axis-when-using-time/m-p/318627#M584809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See my reply below, I attached a sample. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2011 17:55:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reference-Line-on-Y-Axis-when-using-time/m-p/318627#M584809</guid>
      <dc:creator>mellerbeck</dc:creator>
      <dc:date>2011-09-09T17:55:21Z</dc:date>
    </item>
    <item>
      <title>Reference Line on Y Axis when using time</title>
      <link>https://community.qlik.com/t5/QlikView/Reference-Line-on-Y-Axis-when-using-time/m-p/318628#M584810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Chart_Time isn't a time, it's a timestamp.&amp;nbsp; You don't display the date, but it's still there.&amp;nbsp; If you want to keep the date, I highly recommend displaying it to avoid the exact kind of confusion you just went through.&amp;nbsp; However, then asking for a reference line at 7:00 AM makes no sense to me because on which DATE do you want that line?&amp;nbsp; All of them?&amp;nbsp; The first one?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you don't want the date in your time, then strip it out using something like frac().&amp;nbsp; Then if you use a continuous axis, something like the suggested 7/24 or your time('07 AM','hh TT') should work fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2011 19:42:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reference-Line-on-Y-Axis-when-using-time/m-p/318628#M584810</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-09-09T19:42:10Z</dc:date>
    </item>
    <item>
      <title>Re: Reference Line on Y Axis when using time</title>
      <link>https://community.qlik.com/t5/QlikView/Reference-Line-on-Y-Axis-when-using-time/m-p/318629#M584811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks John! That is making a lot more sense now! Assuming I wanted to make a reference line on the date and time how would I do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried changing chart_time to be &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;timestamp(floor(Trsx_CreationDate, 1/24)) as Chart_Time&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then adding a refernce line with &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;='9/9/2011 9:00:00 AM'&lt;/P&gt;&lt;P&gt;=Timestamp('9/9/2011 9:01:00 AM')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But so far no Joy. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2011 20:46:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reference-Line-on-Y-Axis-when-using-time/m-p/318629#M584811</guid>
      <dc:creator>mellerbeck</dc:creator>
      <dc:date>2011-09-09T20:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: Reference Line on Y Axis when using time</title>
      <link>https://community.qlik.com/t5/QlikView/Reference-Line-on-Y-Axis-when-using-time/m-p/318630#M584812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think either of these would work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;=timestamp#('9/9/2011 9:01:00 AM','D/M/YYYY h:mm:ss TT')&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;=makedate(2011,9,9)+maketime(9,1)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2011 20:49:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reference-Line-on-Y-Axis-when-using-time/m-p/318630#M584812</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-09-09T20:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: Reference Line on Y Axis when using time</title>
      <link>https://community.qlik.com/t5/QlikView/Reference-Line-on-Y-Axis-when-using-time/m-p/318631#M584813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmm, tried both (I appreciate all the help greatly BTW) but still no joy &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;Wonder what's breaking it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2011 20:56:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reference-Line-on-Y-Axis-when-using-time/m-p/318631#M584813</guid>
      <dc:creator>mellerbeck</dc:creator>
      <dc:date>2011-09-09T20:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: Reference Line on Y Axis when using time</title>
      <link>https://community.qlik.com/t5/QlikView/Reference-Line-on-Y-Axis-when-using-time/m-p/318632#M584814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you put it on the Y-axis instead of X-axis?&amp;nbsp; To put a reference line on the X-axis, you need to select "continuous" for the dimension.&amp;nbsp; Use the number tab to fix the formatting.&amp;nbsp; An X-axis reference line defined with either of the expressions above then works just fine for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2011 21:02:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reference-Line-on-Y-Axis-when-using-time/m-p/318632#M584814</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-09-09T21:02:20Z</dc:date>
    </item>
    <item>
      <title>Re: Reference Line on Y Axis when using time</title>
      <link>https://community.qlik.com/t5/QlikView/Reference-Line-on-Y-Axis-when-using-time/m-p/318633#M584815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great! That was it!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2011 21:13:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reference-Line-on-Y-Axis-when-using-time/m-p/318633#M584815</guid>
      <dc:creator>mellerbeck</dc:creator>
      <dc:date>2011-09-09T21:13:53Z</dc:date>
    </item>
  </channel>
</rss>

