<?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 Adding custom strings to formats (interval, date, time) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Adding-custom-strings-to-formats-interval-date-time/m-p/1224253#M391000</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;I'm using the interval function to work out the period between two datetime values, in days and hours, as below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Interval&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;ReloadTime&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;() - &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;L_DispatchRequestTime&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, 'd - hh') &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;Whilst this gives the correct results it looks very confusing. I'm looking to add my own custom labelling to the format so I can something like:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;'1 day 5 hours'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;Is there any way of adjusting the formatting so I can fully customise the labelling, or get the result above?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Jan 2017 11:05:21 GMT</pubDate>
    <dc:creator>pauluk__</dc:creator>
    <dc:date>2017-01-24T11:05:21Z</dc:date>
    <item>
      <title>Adding custom strings to formats (interval, date, time)</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-custom-strings-to-formats-interval-date-time/m-p/1224253#M391000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;I'm using the interval function to work out the period between two datetime values, in days and hours, as below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Interval&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;ReloadTime&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;() - &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;L_DispatchRequestTime&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, 'd - hh') &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;Whilst this gives the correct results it looks very confusing. I'm looking to add my own custom labelling to the format so I can something like:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;'1 day 5 hours'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;Is there any way of adjusting the formatting so I can fully customise the labelling, or get the result above?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2017 11:05:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-custom-strings-to-formats-interval-date-time/m-p/1224253#M391000</guid>
      <dc:creator>pauluk__</dc:creator>
      <dc:date>2017-01-24T11:05:21Z</dc:date>
    </item>
    <item>
      <title>Re: Adding custom strings to formats (interval, date, time)</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-custom-strings-to-formats-interval-date-time/m-p/1224254#M391001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try something like this: =replace(replace(interval(1.55, 'd X - h Z'), 'X', 'day(s)'), 'Z', 'hours')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2017 11:16:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-custom-strings-to-formats-interval-date-time/m-p/1224254#M391001</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2017-01-24T11:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: Adding custom strings to formats (interval, date, time)</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-custom-strings-to-formats-interval-date-time/m-p/1224255#M391002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This works great, thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2017 13:41:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-custom-strings-to-formats-interval-date-time/m-p/1224255#M391002</guid>
      <dc:creator>pauluk__</dc:creator>
      <dc:date>2017-01-24T13:41:44Z</dc:date>
    </item>
  </channel>
</rss>

