<?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 How to split this string in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-split-this-string/m-p/445747#M1164923</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 want to split string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;String is&amp;nbsp; "2012-09-23 03:11:28: 0860&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; store Tbl into ..\..\qvd\derived\invoice\INVOICE_ITEM_SUPPLIER.qvd"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need Like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Time=2012-09-23 03:11:28: 0860&lt;/P&gt;&lt;P&gt;Table=store Tbl into ..\..\qvd\derived\invoice\INVOICE_ITEM_SUPPLIER.qvd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance &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;Regards,&lt;/P&gt;&lt;P&gt;Kabilan K.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Sep 2012 15:02:56 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-09-26T15:02:56Z</dc:date>
    <item>
      <title>How to split this string</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-split-this-string/m-p/445747#M1164923</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 want to split string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;String is&amp;nbsp; "2012-09-23 03:11:28: 0860&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; store Tbl into ..\..\qvd\derived\invoice\INVOICE_ITEM_SUPPLIER.qvd"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need Like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Time=2012-09-23 03:11:28: 0860&lt;/P&gt;&lt;P&gt;Table=store Tbl into ..\..\qvd\derived\invoice\INVOICE_ITEM_SUPPLIER.qvd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance &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;Regards,&lt;/P&gt;&lt;P&gt;Kabilan K.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2012 15:02:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-split-this-string/m-p/445747#M1164923</guid>
      <dc:creator />
      <dc:date>2012-09-26T15:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to split this string</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-split-this-string/m-p/445748#M1164924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;=trim(left(String, &lt;SPAN class="Bold"&gt;index(String, '&lt;/SPAN&gt;store&lt;SPAN class="Bold"&gt;')-1))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;=right(&lt;/SPAN&gt;String, len(String)-&lt;SPAN class="Bold"&gt;index(String, '&lt;/SPAN&gt;store&lt;SPAN class="Bold"&gt;')+1)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2012 15:25:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-split-this-string/m-p/445748#M1164924</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2012-09-26T15:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to split this string</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-split-this-string/m-p/445749#M1164925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi whiteline,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here, I have issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Issue is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to store this value "&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;trim(left(String, &lt;/SPAN&gt;&lt;SPAN class="Bold" style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;index(String, '&lt;/SPAN&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;store&lt;/SPAN&gt;&lt;SPAN class="Bold" style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;')-1))&lt;/SPAN&gt;" as Date format with time, because I need to take a time from that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex:&lt;/P&gt;&lt;P&gt;I used to write a script like this: But StartTime returns nothing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load Time(&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;trim(left(String, &lt;/SPAN&gt;&lt;SPAN class="Bold" style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;index(String, '&lt;/SPAN&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;store&lt;/SPAN&gt;&lt;SPAN class="Bold" style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;')-1))&lt;/SPAN&gt;) as StartTime&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;From SomeTable;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can Any on help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Regards,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Kabilan K&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Sep 2012 14:42:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-split-this-string/m-p/445749#M1164925</guid>
      <dc:creator />
      <dc:date>2012-09-27T14:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to split this string</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-split-this-string/m-p/445750#M1164926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why do you use time() finction ?&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;The time function &lt;STRONG&gt;formats&lt;/STRONG&gt; the expression as time according to the string given as format-code.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;So it converts the text &lt;SPAN style="text-decoration: underline;"&gt;representation&lt;/SPAN&gt; of numerical time value (you could use it later).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To convert string datetime to numeric value you should use timestamp#() or date#() function with corresponding format string:&lt;/P&gt;&lt;P&gt;TimeStamp#(trim(left(String, index(String, 'store')-1)), 'YYYY-MM-DD hh:mm:ss: ffff') as StartTime&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Sep 2012 17:29:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-split-this-string/m-p/445750#M1164926</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2012-09-27T17:29:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to split this string</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-split-this-string/m-p/445751#M1164927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Whiteline,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You For your all reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could u tel me one thing? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to calculate the difference between two times?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EX:&lt;/P&gt;&lt;P&gt;StartTime =12:27:42 &lt;/P&gt;&lt;P&gt;EndTime =12:28:38&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Diference=Timestamp#((EndTime-StartTime),'MM:SS') // It shows some nemeric value like 0.00066....&lt;/P&gt;&lt;P&gt; But I want to show as Difference=0.56 Mins&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kabilan K.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2012 06:13:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-split-this-string/m-p/445751#M1164927</guid>
      <dc:creator />
      <dc:date>2012-09-28T06:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to split this string</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-split-this-string/m-p/445752#M1164928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are two functions Timestamp#() and Timestamp().&lt;/P&gt;&lt;P&gt;The first one converts string value to numeric value.&lt;/P&gt;&lt;P&gt;The second one changes the time format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since you've already converted your StartTime and EndTime, why do you use Timestamp# instead of Timestamp ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2012 07:14:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-split-this-string/m-p/445752#M1164928</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2012-09-28T07:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to split this string</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-split-this-string/m-p/445753#M1164929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Whiteline,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks For Everything.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And, I have a on issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have data like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="22644" class="jive-image" alt="Capture.PNG" src="https://community.qlik.com/legacyfs/online/22644_Capture.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have got date from this data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Script is Date(String)&amp;nbsp;&amp;nbsp; // String = Image data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In that image the dates are same. so, In result, I need to get only one row&amp;nbsp; as 2012-09-23 ryt?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I got the date list box like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="22645" class="jive-image" alt="Capture1.PNG" src="https://community.qlik.com/legacyfs/online/22645_Capture1.PNG" /&gt;&lt;/P&gt;&lt;P&gt;Please help me..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks In advance..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kabilan K.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2012 10:43:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-split-this-string/m-p/445753#M1164929</guid>
      <dc:creator />
      <dc:date>2012-09-28T10:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to split this string</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-split-this-string/m-p/445754#M1164930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In that image all dates are different. Those are date-times, in first row time is 47 minutes, 3 seconds and 426 milliseconds past midnight. In Qlikview all dates have numerical format and those values are in numerical format something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;40624.0047030426&lt;/P&gt;&lt;P&gt;40624.0047030427&lt;/P&gt;&lt;P&gt;40624.0047030429&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example Floor() -function will reduce all those date-times to same date-time.:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;40624.000000000&lt;/P&gt;&lt;P&gt;40624.000000000&lt;/P&gt;&lt;P&gt;40624.000000000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Miikka&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2012 11:06:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-split-this-string/m-p/445754#M1164930</guid>
      <dc:creator>miikkaqlick</dc:creator>
      <dc:date>2012-09-28T11:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to split this string</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-split-this-string/m-p/445755#M1164931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this: date#(subfield(MyString),' ',1) as MyDate&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2012 11:07:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-split-this-string/m-p/445755#M1164931</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2012-09-28T11:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to split this string</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-split-this-string/m-p/445756#M1164932</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;Thanks...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@whiteline: Thanks a lot. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;@Miikka: Superp.. Explanation is good.&lt;/P&gt;&lt;P&gt;@Gwassenaar: Your ans is also useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kabilan K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2012 11:22:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-split-this-string/m-p/445756#M1164932</guid>
      <dc:creator />
      <dc:date>2012-09-28T11:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to split this string</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-split-this-string/m-p/445757#M1164933</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;Issue:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have pivot chart like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="22655" class="jive-image" alt="Capture2.PNG" src="https://community.qlik.com/legacyfs/online/22655_Capture2.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I need to make a Chart Like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="22657" class="jive-image" alt="Capture3.PNG" src="https://community.qlik.com/legacyfs/online/22657_Capture3.PNG" /&gt;&lt;/P&gt;&lt;P&gt;Any possible is here?, please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks In advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kabilan K.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2012 11:37:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-split-this-string/m-p/445757#M1164933</guid>
      <dc:creator />
      <dc:date>2012-09-28T11:37:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to split this string</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-split-this-string/m-p/445758#M1164934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Toggle chechbox Properties-&amp;gt;Presentation-&amp;gt;Show partial sums.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2012 12:37:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-split-this-string/m-p/445758#M1164934</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2012-09-28T12:37:19Z</dc:date>
    </item>
  </channel>
</rss>

