<?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 Interval pattern in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Interval-pattern/m-p/186581#M50618</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;There's no way to get the format that way, so you will need to play with string functions to manually add the "d" or "h" characters to the result. As an example try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;=SubField(Interval('25:00','D:h'), ':', 1) &amp;amp; 'd ' &amp;amp; SubField(Interval('25:00','D:h'), ':', 2) &amp;amp; 'h'&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Hope that helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Mar 2011 11:32:52 GMT</pubDate>
    <dc:creator>Miguel_Angel_Baeyens</dc:creator>
    <dc:date>2011-03-29T11:32:52Z</dc:date>
    <item>
      <title>Interval pattern</title>
      <link>https://community.qlik.com/t5/QlikView/Interval-pattern/m-p/186580#M50617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a field containing a time interval between two dates.&lt;/P&gt;&lt;P&gt;I want to format this number with format : 4d, 3h&lt;/P&gt;&lt;P&gt;If I set "Interval" on Number tab with number pattern like "d d, h h" it replace every d or h char with the result, showing "4 4 3 3".&lt;/P&gt;&lt;P&gt;Is there any escape char on format string that I can use?&lt;/P&gt;&lt;P&gt;I've tried some like \d or 'd' unsuccessfully.&lt;/P&gt;&lt;P&gt;Thankyou!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Mar 2011 10:54:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Interval-pattern/m-p/186580#M50617</guid>
      <dc:creator />
      <dc:date>2011-03-29T10:54:23Z</dc:date>
    </item>
    <item>
      <title>Interval pattern</title>
      <link>https://community.qlik.com/t5/QlikView/Interval-pattern/m-p/186581#M50618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;There's no way to get the format that way, so you will need to play with string functions to manually add the "d" or "h" characters to the result. As an example try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;=SubField(Interval('25:00','D:h'), ':', 1) &amp;amp; 'd ' &amp;amp; SubField(Interval('25:00','D:h'), ':', 2) &amp;amp; 'h'&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Hope that helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Mar 2011 11:32:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Interval-pattern/m-p/186581#M50618</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-03-29T11:32:52Z</dc:date>
    </item>
  </channel>
</rss>

