<?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 Limit on graph in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Limit-on-graph/m-p/250378#M1191129</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's what im trying to do actually:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(time(samptime) &amp;gt; '8:00:00 AM', time(samptime))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So im checking a field called samtime and if its more than 8 AM, then i want all the times after that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Aug 2011 18:21:23 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-08-04T18:21:23Z</dc:date>
    <item>
      <title>Limit on graph</title>
      <link>https://community.qlik.com/t5/QlikView/Limit-on-graph/m-p/250374#M1191125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to limit the graph to show only certain times on the x-axis, but the formula doesnt seem to be working. this is what i am using:&lt;/P&gt;&lt;P&gt;=if(time(samptime) &amp;gt; '8:00:00 AM', time(samptime))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but QV is not recognizing it, and giving me all the times.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your time in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2011 18:09:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limit-on-graph/m-p/250374#M1191125</guid>
      <dc:creator />
      <dc:date>2011-08-04T18:09:22Z</dc:date>
    </item>
    <item>
      <title>Limit on graph</title>
      <link>https://community.qlik.com/t5/QlikView/Limit-on-graph/m-p/250375#M1191126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am on personal so I can not open your sample gvw, but have you tried something like &lt;/P&gt;&lt;P&gt;=if(time(samptime) &amp;gt; '8:00:00 AM', YOURVALUEFIELD)&lt;/P&gt;&lt;P&gt;where YOURVALUEFIELD&amp;nbsp; is your expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have something like this in mine to exclude invoices that are not related to sales orders. if(isnull(invoicemonthyear),0,sum(extprice) + sum(miscamt))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2011 18:13:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limit-on-graph/m-p/250375#M1191126</guid>
      <dc:creator />
      <dc:date>2011-08-04T18:13:40Z</dc:date>
    </item>
    <item>
      <title>Limit on graph</title>
      <link>https://community.qlik.com/t5/QlikView/Limit-on-graph/m-p/250376#M1191127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;where YOURVALUEFIELD is my expression? i didnt get that.. can you please explain..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2011 18:17:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limit-on-graph/m-p/250376#M1191127</guid>
      <dc:creator />
      <dc:date>2011-08-04T18:17:02Z</dc:date>
    </item>
    <item>
      <title>Limit on graph</title>
      <link>https://community.qlik.com/t5/QlikView/Limit-on-graph/m-p/250377#M1191128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am assuming that the dimension is set to Sample time correct? What field are you looking at for values on the graph? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my example the value I was looking at was sum(extprice) + sum(miscamt). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorruy just re-read and I mis typed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set YOURVALUEFIELD in that formula to the field that you are using for you values in the graph.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paste this formula as the expression for the graph&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2011 18:20:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limit-on-graph/m-p/250377#M1191128</guid>
      <dc:creator />
      <dc:date>2011-08-04T18:20:19Z</dc:date>
    </item>
    <item>
      <title>Limit on graph</title>
      <link>https://community.qlik.com/t5/QlikView/Limit-on-graph/m-p/250378#M1191129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's what im trying to do actually:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(time(samptime) &amp;gt; '8:00:00 AM', time(samptime))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So im checking a field called samtime and if its more than 8 AM, then i want all the times after that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2011 18:21:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limit-on-graph/m-p/250378#M1191129</guid>
      <dc:creator />
      <dc:date>2011-08-04T18:21:23Z</dc:date>
    </item>
    <item>
      <title>Limit on graph</title>
      <link>https://community.qlik.com/t5/QlikView/Limit-on-graph/m-p/250379#M1191130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;but this isnt working for some reason, and its returning me all the times begn from 12 AM ..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2011 18:21:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limit-on-graph/m-p/250379#M1191130</guid>
      <dc:creator />
      <dc:date>2011-08-04T18:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: Limit on graph</title>
      <link>https://community.qlik.com/t5/QlikView/Limit-on-graph/m-p/250380#M1191131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;'8:00:00 AM' is a string literal.&amp;nbsp; It can't be meaningfully compared to a time value.&amp;nbsp; Here are some ways to get a comparable time value.&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;time#('8:00:00 AM','h:mm:ss TT')&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;maketime(8)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;8/24&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;Edit: And looking more closely, you don't have a time field.&amp;nbsp; You have a timestamp field.&amp;nbsp; Using time() doesn't convert it into a time, it only DISPLAYS it as a time.&amp;nbsp; Frac(samptime) should work.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2011 18:24:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limit-on-graph/m-p/250380#M1191131</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-08-04T18:24:28Z</dc:date>
    </item>
    <item>
      <title>Limit on graph</title>
      <link>https://community.qlik.com/t5/QlikView/Limit-on-graph/m-p/250381#M1191132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;that was the entire problem it seems!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So this worked for me for everyones reference: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(frac(samptime) &amp;gt;= '6:00:00 AM' , time(samptime))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2011 18:36:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limit-on-graph/m-p/250381#M1191132</guid>
      <dc:creator />
      <dc:date>2011-08-04T18:36:44Z</dc:date>
    </item>
    <item>
      <title>Limit on graph</title>
      <link>https://community.qlik.com/t5/QlikView/Limit-on-graph/m-p/250382#M1191133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Huh!&amp;nbsp; I did not realize that QlikView would automatically convert a string literal into a time in that situation.&amp;nbsp; It looks like it MUST match the default time format set in the script, but as long as it does, it properly interprets it.&amp;nbsp; I just learned something new.&amp;nbsp; &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;I'd probably still recommend against it because you might, say, go and change your default time format, and forget to change all your string literals.&amp;nbsp; The approaches I used above are not sensitive to your defaults like that.&amp;nbsp; Still, interesting.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2011 18:40:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limit-on-graph/m-p/250382#M1191133</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-08-04T18:40:24Z</dc:date>
    </item>
  </channel>
</rss>

