<?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 Displaying 150 as 2m:30s in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Displaying-150-as-2m-30s/m-p/222395#M75075</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try including milliseconds like this:&lt;/P&gt;&lt;P&gt;time((sum(TalkTime)/sum(CallsAnswered))/86400, 'm') &amp;amp; 'm ' &amp;amp; time((sum(TalkTime)/sum(CallsAnswered)))/86400, 'ss') &amp;amp; '.' &amp;amp; time((sum(TalkTime)/sum(CallsAnswered)))/86400, 'f') &amp;amp; 's'&lt;/P&gt;&lt;P&gt;If you want to increase the accuracy even further then change 'f' to 'ff' &lt;IMG alt="Smile" src="http://community.qlik.com/emoticons/emotion-1.gif" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Oct 2010 12:07:06 GMT</pubDate>
    <dc:creator>nathanfurby</dc:creator>
    <dc:date>2010-10-27T12:07:06Z</dc:date>
    <item>
      <title>Displaying 150 as 2m:30s</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-150-as-2m-30s/m-p/222386#M75066</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;I have an expression which evaluates to 150 and I want this displayed as 2m:30s. Dividing the expression by 86400 and then changing the number format to interval mm:ss almost works but the "m" and the "s" don't appear so to the user it's not obvious what this figure represents.&lt;/P&gt;&lt;P&gt;Does anyone know how to achieve this?&lt;/P&gt;&lt;P&gt;Many thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Sep 2010 14:11:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-150-as-2m-30s/m-p/222386#M75066</guid>
      <dc:creator />
      <dc:date>2010-09-29T14:11:15Z</dc:date>
    </item>
    <item>
      <title>Displaying 150 as 2m:30s</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-150-as-2m-30s/m-p/222387#M75067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Use the interval() function so&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;=Interval(time('03:01') - time('01:00'), 'h:mm:ss')&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;will return "2:01:00"&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Sep 2010 14:19:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-150-as-2m-30s/m-p/222387#M75067</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-09-29T14:19:51Z</dc:date>
    </item>
    <item>
      <title>Displaying 150 as 2m:30s</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-150-as-2m-30s/m-p/222388#M75068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, but it still doesn't display the "m" and the "s" which is what I need.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Sep 2010 14:28:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-150-as-2m-30s/m-p/222388#M75068</guid>
      <dc:creator />
      <dc:date>2010-09-29T14:28:39Z</dc:date>
    </item>
    <item>
      <title>Re. :Re: Displaying 150 as 2m:30s</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-150-as-2m-30s/m-p/222389#M75069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can try this :&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;=interval(150/(24*60*60),'m') &amp;amp; 'min ' &amp;amp; interval(mod(150,120)/(24*60*60),'s') &amp;amp; 's'&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Hope that helps you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Sep 2010 14:34:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-150-as-2m-30s/m-p/222389#M75069</guid>
      <dc:creator>martin59</dc:creator>
      <dc:date>2010-09-29T14:34:33Z</dc:date>
    </item>
    <item>
      <title>Displaying 150 as 2m:30s</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-150-as-2m-30s/m-p/222390#M75070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;A possible way -just thought of- is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;=Replace(Interval(time('00:07:01') - time('00:01:42'), 'mm:ss'), ':', 'm:') &amp;amp; 's'&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;EDIT: There's no need to pass on timestamps:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;=Replace(Interval(150/84600, 'mm:ss'), ':', 'm:') &amp;amp; 's'&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;will work too.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Sep 2010 14:38:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-150-as-2m-30s/m-p/222390#M75070</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-09-29T14:38:54Z</dc:date>
    </item>
    <item>
      <title>Displaying 150 as 2m:30s</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-150-as-2m-30s/m-p/222391#M75071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, thanks for the suggestions. I had thought something along those lines would work but hoped there was a simpler solution. It's frustrating that the number cannot be formatted like in Excel to display however you want.&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Sep 2010 14:48:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-150-as-2m-30s/m-p/222391#M75071</guid>
      <dc:creator />
      <dc:date>2010-09-29T14:48:06Z</dc:date>
    </item>
    <item>
      <title>Displaying 150 as 2m:30s</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-150-as-2m-30s/m-p/222392#M75072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Although this works in a table, it doesn't seem possible to display numbers this way on the dimension axes of a chart. The best I can achieve is 02:30 by formatting the number as an interval. Is that right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Sep 2010 15:26:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-150-as-2m-30s/m-p/222392#M75072</guid>
      <dc:creator />
      <dc:date>2010-09-29T15:26:25Z</dc:date>
    </item>
    <item>
      <title>Displaying 150 as 2m:30s</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-150-as-2m-30s/m-p/222393#M75073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;That's right, since in Number tab in chart properties, format doesn't allow expressions, only format codes, and bot "m" and "s" are format codes.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Sep 2010 15:36:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-150-as-2m-30s/m-p/222393#M75073</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-09-29T15:36:20Z</dc:date>
    </item>
    <item>
      <title>Displaying 150 as 2m:30s</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-150-as-2m-30s/m-p/222394#M75074</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;This is the solution I used:&lt;/P&gt;&lt;P&gt;time((sum(TalkTime) / sum(CallsAnswered)) /86400, 'm') &amp;amp; 'm: '&amp;amp; time((sum(TalkTime) / sum(CallsAnswered)) /86400, 'ss') &amp;amp; 's')&lt;/P&gt;&lt;P&gt;I've discovered that this will cause an inaccuracy when sum(TalkTime) / sum(CallsAnswered) equates to (for example) 132.6 seconds which should display as 2m:13s but using the above expression will give 2m:12s. As far as I can see, using the above expression will only be out by a maximum of 1 second so it's not a big problem. Having said that, I believe that there can only ever be one correct answer so 1 second out is still inaccurate.&lt;/P&gt;&lt;P&gt;Does anybody know of a way to modify my expression to account for this?&lt;/P&gt;&lt;P&gt;Many thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Oct 2010 10:44:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-150-as-2m-30s/m-p/222394#M75074</guid>
      <dc:creator />
      <dc:date>2010-10-27T10:44:30Z</dc:date>
    </item>
    <item>
      <title>Displaying 150 as 2m:30s</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-150-as-2m-30s/m-p/222395#M75075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try including milliseconds like this:&lt;/P&gt;&lt;P&gt;time((sum(TalkTime)/sum(CallsAnswered))/86400, 'm') &amp;amp; 'm ' &amp;amp; time((sum(TalkTime)/sum(CallsAnswered)))/86400, 'ss') &amp;amp; '.' &amp;amp; time((sum(TalkTime)/sum(CallsAnswered)))/86400, 'f') &amp;amp; 's'&lt;/P&gt;&lt;P&gt;If you want to increase the accuracy even further then change 'f' to 'ff' &lt;IMG alt="Smile" src="http://community.qlik.com/emoticons/emotion-1.gif" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Oct 2010 12:07:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-150-as-2m-30s/m-p/222395#M75075</guid>
      <dc:creator>nathanfurby</dc:creator>
      <dc:date>2010-10-27T12:07:06Z</dc:date>
    </item>
    <item>
      <title>Displaying 150 as 2m:30s</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-150-as-2m-30s/m-p/222396#M75076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nice idea but I still want the time to display as 2m:13s, not 2m:12.6s i.e. I want it rounded to the nearest second.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Oct 2010 16:26:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-150-as-2m-30s/m-p/222396#M75076</guid>
      <dc:creator />
      <dc:date>2010-10-27T16:26:26Z</dc:date>
    </item>
    <item>
      <title>Displaying 150 as 2m:30s</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-150-as-2m-30s/m-p/222397#M75077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then do this:&lt;/P&gt;&lt;P&gt;time((sum(TalkTime)/sum(CallsAnswered))/86400, 'm') &amp;amp; 'm ' &amp;amp; Num(time((sum(TalkTime)/sum(CallsAnswered)))/86400, 'ss') &amp;amp; '.' &amp;amp; time((sum(TalkTime)/sum(CallsAnswered)))/86400, 'f'),'0') &amp;amp; 's'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Oct 2010 17:11:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-150-as-2m-30s/m-p/222397#M75077</guid>
      <dc:creator>nathanfurby</dc:creator>
      <dc:date>2010-10-27T17:11:49Z</dc:date>
    </item>
    <item>
      <title>Displaying 150 as 2m:30s</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-150-as-2m-30s/m-p/222398#M75078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps this?&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;dual(replace(interval(round(sum(TalkTime)/sum(CallsAnswered))/86400,'mm:ss'),':','m:')&amp;amp;'s'&lt;BR /&gt; ,interval(round(sum(TalkTime)/sum(CallsAnswered))/86400))&lt;/P&gt;&lt;P&gt;The dual isn't strictly necessary, but I think it's best if your interval has an underlying numeric value instead of just being a text field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Oct 2010 18:24:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-150-as-2m-30s/m-p/222398#M75078</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-10-27T18:24:31Z</dc:date>
    </item>
    <item>
      <title>Displaying 150 as 2m:30s</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-150-as-2m-30s/m-p/222399#M75079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;NathanFurby's solution seems to work until the expression equates to (for example) 179.9 which will return 2m: 60s.&lt;/P&gt;&lt;P&gt;John, your solution will return 3m: 00s which is exactly what I require.&lt;/P&gt;&lt;P&gt;Many thanks to everyone for their assistance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Oct 2010 09:36:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-150-as-2m-30s/m-p/222399#M75079</guid>
      <dc:creator />
      <dc:date>2010-10-28T09:36:38Z</dc:date>
    </item>
  </channel>
</rss>

