<?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 reading timestamps from a csv in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/reading-timestamps-from-a-csv/m-p/152402#M29849</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;add '#' after the timestamp function, and use 'tt' instead of 'a' for AM/PM, and you should be fine&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 14 Nov 2009 00:48:28 GMT</pubDate>
    <dc:creator>Oleg_Troyansky</dc:creator>
    <dc:date>2009-11-14T00:48:28Z</dc:date>
    <item>
      <title>reading timestamps from a csv</title>
      <link>https://community.qlik.com/t5/QlikView/reading-timestamps-from-a-csv/m-p/152398#M29845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to read a timestamp from a csv&lt;/P&gt;&lt;P&gt;blobname, unitblobname. ,blabla,N,Combustion Turbine,&lt;B&gt;09/01/2009 5:00 PM&lt;/B&gt;,MV90 Hourly,0.0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I deifned the timestmap format as MM/DD/YYYY h:mm a, but when I run the Load script, the pivot chart I use to display the dates fails to show me values. This chart has calculated dimension base don the timestamp parameter such as year(timestamp), day(timestamp), month(timestamp)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a better way to Load timestamp data from a csv file?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Nov 2009 00:17:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/reading-timestamps-from-a-csv/m-p/152398#M29845</guid>
      <dc:creator />
      <dc:date>2009-11-14T00:17:33Z</dc:date>
    </item>
    <item>
      <title>reading timestamps from a csv</title>
      <link>https://community.qlik.com/t5/QlikView/reading-timestamps-from-a-csv/m-p/152399#M29846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried with&lt;/P&gt;&lt;P&gt;TimeStamp(TimeStamp#(Text, 'MM/DD/YYYY h:mm a'))&lt;/P&gt;&lt;P&gt;The inner one tries to interprete the given string as a timestamp as per the specification, the outer one would handle this as date and not as number (if able to read)&lt;/P&gt;&lt;P&gt;HTH&lt;BR /&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Nov 2009 00:21:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/reading-timestamps-from-a-csv/m-p/152399#M29846</guid>
      <dc:creator>prieper</dc:creator>
      <dc:date>2009-11-14T00:21:41Z</dc:date>
    </item>
    <item>
      <title>reading timestamps from a csv</title>
      <link>https://community.qlik.com/t5/QlikView/reading-timestamps-from-a-csv/m-p/152400#M29847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Before you get to the chart, check what kind of data are you getting from the load. If QlikView treats your timestampe as a string, you need to cast it into a date using function date# or timestampe# - something like the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;timestamp(MyStringDate, 'MM/DD/YYYY h:mm a')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;good luck!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Nov 2009 00:24:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/reading-timestamps-from-a-csv/m-p/152400#M29847</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2009-11-14T00:24:06Z</dc:date>
    </item>
    <item>
      <title>reading timestamps from a csv</title>
      <link>https://community.qlik.com/t5/QlikView/reading-timestamps-from-a-csv/m-p/152401#M29848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Olef, Itried different suggestions on handling the timestamp string a load time.. Here is an excerpt of what I am trying to do&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let path = 'C:\QlikView QVW\DataSources\meterData\';&lt;BR /&gt;let outPath = 'C:\QlikView QVW\DataSources\qvd\';&lt;/P&gt;&lt;P&gt;MeterData:&lt;BR /&gt;LOAD @1 as meterName,&lt;BR /&gt; @2 as unitName,&lt;BR /&gt; @3 as planName,&lt;BR /&gt; @4 as market,&lt;BR /&gt; @5 as fuelType,&lt;BR /&gt; timestamp(@6,'MM/DD/YYYY h:mm a') as beginDate,&lt;BR /&gt; @7 as editionName,&lt;BR /&gt; @8*-1 as Value&lt;BR /&gt;FROM&lt;BR /&gt;$(path)GEN_METER*.csv&lt;BR /&gt;(txt, codepage is 1252, no labels, delimiter is ',', msq, header is 1 lines);&lt;/P&gt;&lt;P&gt;I checked loading this and when creating a listbox for beginDate, QLIKView interprets the beginDate as a string since when i navigate to the list box properties, Number and change to NUmber, Date or Timestamp, it always returns the string value imported.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Nov 2009 00:47:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/reading-timestamps-from-a-csv/m-p/152401#M29848</guid>
      <dc:creator />
      <dc:date>2009-11-14T00:47:01Z</dc:date>
    </item>
    <item>
      <title>reading timestamps from a csv</title>
      <link>https://community.qlik.com/t5/QlikView/reading-timestamps-from-a-csv/m-p/152402#M29849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;add '#' after the timestamp function, and use 'tt' instead of 'a' for AM/PM, and you should be fine&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Nov 2009 00:48:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/reading-timestamps-from-a-csv/m-p/152402#M29849</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2009-11-14T00:48:28Z</dc:date>
    </item>
    <item>
      <title>reading timestamps from a csv</title>
      <link>https://community.qlik.com/t5/QlikView/reading-timestamps-from-a-csv/m-p/152403#M29850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oleaf I tried suggestion but still the timestamp is interpreted in qlikview as a string&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;let path = 'C:\QlikView QVW\DataSources\meterData\';&lt;BR /&gt;let outPath = 'C:\QlikView QVW\DataSources\qvd\';&lt;BR /&gt;MeterData:&lt;BR /&gt;LOAD @1 as meterName,&lt;BR /&gt; @2 as unitName,&lt;BR /&gt; @3 as planName,&lt;BR /&gt; @4 as market,&lt;BR /&gt; @5 as fuelType,&lt;BR /&gt; timestamp(@6,'MM/DD/YYYY h:mm a') as beginDate,&lt;BR /&gt; @7 as editionName,&lt;BR /&gt; @8*-1 as Value&lt;BR /&gt;FROM&lt;BR /&gt;$(path)GEN_METER*.csv&lt;BR /&gt;(txt, codepage is 1252, no labels, delimiter is ',', msq, header is 1 lines);&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Nov 2009 00:48:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/reading-timestamps-from-a-csv/m-p/152403#M29850</guid>
      <dc:creator />
      <dc:date>2009-11-14T00:48:54Z</dc:date>
    </item>
    <item>
      <title>reading timestamps from a csv</title>
      <link>https://community.qlik.com/t5/QlikView/reading-timestamps-from-a-csv/m-p/152404#M29851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oleaf I tried suggestion but still the timestamp is interpreted in qlikview as a string&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;let path = 'C:\QlikView QVW\DataSources\meterData\';&lt;BR /&gt;let outPath = 'C:\QlikView QVW\DataSources\qvd\';&lt;BR /&gt;MeterData:&lt;BR /&gt;LOAD @1 as meterName,&lt;BR /&gt; @2 as unitName,&lt;BR /&gt; @3 as planName,&lt;BR /&gt; @4 as market,&lt;BR /&gt; @5 as fuelType,&lt;BR /&gt; timestamp(@6,'MM/DD/YYYY h:mm a') as beginDate,&lt;BR /&gt; @7 as editionName,&lt;BR /&gt; @8*-1 as Value&lt;BR /&gt;FROM&lt;BR /&gt;$(path)GEN_METER*.csv&lt;BR /&gt;(txt, codepage is 1252, no labels, delimiter is ',', msq, header is 1 lines);&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Nov 2009 00:50:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/reading-timestamps-from-a-csv/m-p/152404#M29851</guid>
      <dc:creator />
      <dc:date>2009-11-14T00:50:12Z</dc:date>
    </item>
    <item>
      <title>reading timestamps from a csv</title>
      <link>https://community.qlik.com/t5/QlikView/reading-timestamps-from-a-csv/m-p/152405#M29852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oleaf I tried suggestion but still the timestamp is interpreted in qlikview as a string&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;let path = 'C:\QlikView QVW\DataSources\meterData\';&lt;BR /&gt;let outPath = 'C:\QlikView QVW\DataSources\qvd\';&lt;BR /&gt;MeterData:&lt;BR /&gt;LOAD @1 as meterName,&lt;BR /&gt; @2 as unitName,&lt;BR /&gt; @3 as planName,&lt;BR /&gt; @4 as market,&lt;BR /&gt; @5 as fuelType,&lt;BR /&gt; timestamp(@6,'MM/DD/YYYY h:mm a') as beginDate,&lt;BR /&gt; @7 as editionName,&lt;BR /&gt; @8*-1 as Value&lt;BR /&gt;FROM&lt;BR /&gt;$(path)GEN_METER*.csv&lt;BR /&gt;(txt, codepage is 1252, no labels, delimiter is ',', msq, header is 1 lines);&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Nov 2009 00:50:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/reading-timestamps-from-a-csv/m-p/152405#M29852</guid>
      <dc:creator />
      <dc:date>2009-11-14T00:50:58Z</dc:date>
    </item>
    <item>
      <title>reading timestamps from a csv</title>
      <link>https://community.qlik.com/t5/QlikView/reading-timestamps-from-a-csv/m-p/152406#M29853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You keep modifying my name, but more importantly you keep using function "timestamp" instead of function "timestamp#" - those are actually 2 different functions, and they are doing 2 different things. You need the pound sign # at the end of your function name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Nov 2009 00:52:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/reading-timestamps-from-a-csv/m-p/152406#M29853</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2009-11-14T00:52:24Z</dc:date>
    </item>
    <item>
      <title>reading timestamps from a csv</title>
      <link>https://community.qlik.com/t5/QlikView/reading-timestamps-from-a-csv/m-p/152407#M29854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Oleg , I tried your suggestion but still qlikview interprets beginDate as a String and my calculated dimensions fail to display on my pivot i.e. year(beginDate)&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Her eis my code:&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;MeterData:&lt;/DIV&gt;&lt;DIV&gt;LOAD @1 as meterName,&lt;/DIV&gt;&lt;DIV&gt;@2 as unitName,&lt;/DIV&gt;&lt;DIV&gt;@3 as planName,&lt;/DIV&gt;&lt;DIV&gt;@4 as market,&lt;/DIV&gt;&lt;DIV&gt;@5 as fuelType,&lt;/DIV&gt;&lt;DIV&gt;timestamp#(@6,'MM/DD/YYYY h:mm a') as beginDate,&lt;/DIV&gt;&lt;DIV&gt;@7 as editionName,&lt;/DIV&gt;&lt;DIV&gt;@8*-1 as Value&lt;/DIV&gt;&lt;DIV&gt;FROM&lt;/DIV&gt;&lt;DIV&gt;$(path)GEN_METER*.csv&lt;/DIV&gt;&lt;DIV&gt;(txt, codepage is 1252, no labels, delimiter is ',', msq, header is 1 lines);&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Nov 2009 00:55:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/reading-timestamps-from-a-csv/m-p/152407#M29854</guid>
      <dc:creator />
      <dc:date>2009-11-14T00:55:27Z</dc:date>
    </item>
    <item>
      <title>reading timestamps from a csv</title>
      <link>https://community.qlik.com/t5/QlikView/reading-timestamps-from-a-csv/m-p/152408#M29855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please check Oleg's message: you also should please replace the 'a' with 'tt' in the timestamp-function&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Nov 2009 01:06:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/reading-timestamps-from-a-csv/m-p/152408#M29855</guid>
      <dc:creator>prieper</dc:creator>
      <dc:date>2009-11-14T01:06:49Z</dc:date>
    </item>
    <item>
      <title>reading timestamps from a csv</title>
      <link>https://community.qlik.com/t5/QlikView/reading-timestamps-from-a-csv/m-p/152409#M29856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you missed one more correction - 'tt' instead of 'a'. Try this:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;MeterData:&lt;/DIV&gt;&lt;DIV&gt;LOAD @1 as meterName,&lt;/DIV&gt;&lt;DIV&gt;@2 as unitName,&lt;/DIV&gt;&lt;DIV&gt;@3 as planName,&lt;/DIV&gt;&lt;DIV&gt;@4 as market,&lt;/DIV&gt;&lt;DIV&gt;@5 as fuelType,&lt;/DIV&gt;&lt;DIV&gt;timestamp#(@6,'MM/DD/YYYY h:mm tt') as beginDate,&lt;/DIV&gt;&lt;DIV&gt;@7 as editionName,&lt;/DIV&gt;&lt;DIV&gt;@8*-1 as Value&lt;/DIV&gt;&lt;DIV&gt;FROM&lt;/DIV&gt;&lt;DIV&gt;$(path)GEN_METER*.csv&lt;/DIV&gt;&lt;DIV&gt;(txt, codepage is 1252, no labels, delimiter is ',', msq, header is 1 lines);&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Nov 2009 01:09:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/reading-timestamps-from-a-csv/m-p/152409#M29856</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2009-11-14T01:09:03Z</dc:date>
    </item>
    <item>
      <title>reading timestamps from a csv</title>
      <link>https://community.qlik.com/t5/QlikView/reading-timestamps-from-a-csv/m-p/152410#M29857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! replacing a with tt did the trick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Nov 2009 02:03:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/reading-timestamps-from-a-csv/m-p/152410#M29857</guid>
      <dc:creator />
      <dc:date>2009-11-14T02:03:20Z</dc:date>
    </item>
    <item>
      <title>reading timestamps from a csv</title>
      <link>https://community.qlik.com/t5/QlikView/reading-timestamps-from-a-csv/m-p/152411#M29858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;replacing a with tt did the trick.. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Nov 2009 02:04:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/reading-timestamps-from-a-csv/m-p/152411#M29858</guid>
      <dc:creator />
      <dc:date>2009-11-14T02:04:43Z</dc:date>
    </item>
  </channel>
</rss>

