<?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 Re: Date format in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Date-format/m-p/1985289#M81344</link>
    <description>&lt;P&gt;Okay Thanks everyone. So in Summary the lines of codes suggested fixed my issue. The auto calendar feature is now working after reloading the script and data source again.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks everyone for helping out. Until the next one &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 26 Sep 2022 11:45:27 GMT</pubDate>
    <dc:creator>ToinkToinkTigger</dc:creator>
    <dc:date>2022-09-26T11:45:27Z</dc:date>
    <item>
      <title>Date format</title>
      <link>https://community.qlik.com/t5/App-Development/Date-format/m-p/1984600#M81246</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;
&lt;P&gt;I have a column with date values. The format from the source is:&lt;/P&gt;
&lt;TABLE width="280"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="280"&gt;&lt;STRONG&gt;6/7/2022 08:49 PM Europe/Berlin&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to use the built-in calendar measurement in QS, however it does not regognize values as a date value.&lt;/P&gt;
&lt;P&gt;Tried to split the field into pieces to extract the ''D/M/YYYY" however, did not get this to work.&lt;/P&gt;
&lt;P&gt;Perhaps I can change the date format in the script loader? Would appreciate some help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2022 09:16:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-format/m-p/1984600#M81246</guid>
      <dc:creator>ToinkToinkTigger</dc:creator>
      <dc:date>2022-09-23T09:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: Date format</title>
      <link>https://community.qlik.com/t5/App-Development/Date-format/m-p/1984608#M81247</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;
&lt;P&gt;try this&amp;nbsp;&lt;/P&gt;
&lt;P&gt;subfield('6/7/2022 08:49 PM Europe/Berlin',' ',1)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Extract the part before the first blank space so here&amp;nbsp;6/7/2022&lt;/P&gt;
&lt;P&gt;then to insure the date format of the expression :&amp;nbsp;&lt;/P&gt;
&lt;P&gt;date(date#(subfield('6/7/2022 08:49 PM Europe/Berlin',' ',1),'DD/MM/YYYY'),'DD/MM/YYYY')&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;hope it helps&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2022 09:33:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-format/m-p/1984608#M81247</guid>
      <dc:creator>brunobertels</dc:creator>
      <dc:date>2022-09-23T09:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: Date format</title>
      <link>https://community.qlik.com/t5/App-Development/Date-format/m-p/1984609#M81248</link>
      <description>&lt;P&gt;Hi ToinkToinkTigger,&lt;/P&gt;
&lt;P&gt;First you have to find out what data type your field has. Is it a string or date or Timestamp?&lt;/P&gt;
&lt;P&gt;Timestamps are decimal numbers and date values are integers. Therfore changing the format might change it's appearance but not the value itself and that could be the reason your Field is not recognised as a date value. You have to floor your timestamp value to get an integer value of the date. Try adding this line to your load statement in your load script:&lt;/P&gt;
&lt;P&gt;Date(Floor(YourDateField)) as Date&lt;/P&gt;
&lt;P&gt;If it's not working your field might be a string value and you might need to extract the date part from your field beforehand and then use this instead:&lt;/P&gt;
&lt;P&gt;Date(Floor(Date#(YourDateStringField))) as Date&lt;/P&gt;
&lt;P&gt;Let me know if it helped.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Can&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2022 09:40:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-format/m-p/1984609#M81248</guid>
      <dc:creator>canerkan</dc:creator>
      <dc:date>2022-09-23T09:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: Date format</title>
      <link>https://community.qlik.com/t5/App-Development/Date-format/m-p/1984673#M81255</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/188069"&gt;@ToinkToinkTigger&lt;/a&gt;&amp;nbsp; Please use the below code in the script load editor:&lt;/P&gt;
&lt;P&gt;NoConcatenate&lt;BR /&gt;Temp:&lt;BR /&gt;Load Date(Date#(SubField(Date,' ',1),'D/M/YYYY'),'DD/MM/YYYY') as Date&lt;/P&gt;
&lt;P&gt;inline [&lt;BR /&gt;Date&lt;BR /&gt;6/7/2022 08:49 PM Europe/Berlin&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;Exit Script;&lt;/P&gt;
&lt;P&gt;If this resolves the issue, please like and accept it as a solution.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2022 11:12:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-format/m-p/1984673#M81255</guid>
      <dc:creator>sidhiq91</dc:creator>
      <dc:date>2022-09-23T11:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: Date format</title>
      <link>https://community.qlik.com/t5/App-Development/Date-format/m-p/1984681#M81256</link>
      <description>&lt;P&gt;I tried this line of code, but it results in a corrupted dashboard (no data visible)&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2022 11:23:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-format/m-p/1984681#M81256</guid>
      <dc:creator>ToinkToinkTigger</dc:creator>
      <dc:date>2022-09-23T11:23:07Z</dc:date>
    </item>
    <item>
      <title>Re: Date format</title>
      <link>https://community.qlik.com/t5/App-Development/Date-format/m-p/1984682#M81257</link>
      <description>&lt;P&gt;Thanks, where exactely do I put this code? In the main of the editer loader where dateformat is set or perhaps the editor where the column is being loaded?&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2022 11:26:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-format/m-p/1984682#M81257</guid>
      <dc:creator>ToinkToinkTigger</dc:creator>
      <dc:date>2022-09-23T11:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: Date format</title>
      <link>https://community.qlik.com/t5/App-Development/Date-format/m-p/1984684#M81258</link>
      <description>&lt;P&gt;Where the columns are loaded&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2022 11:27:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-format/m-p/1984684#M81258</guid>
      <dc:creator>canerkan</dc:creator>
      <dc:date>2022-09-23T11:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: Date format</title>
      <link>https://community.qlik.com/t5/App-Development/Date-format/m-p/1984687#M81259</link>
      <description>&lt;P&gt;So how would that look like?, the column with the date fields is ''completion date''&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ToinkToinkTigger_0-1663932625344.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/89768i2352183B61F570B2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ToinkToinkTigger_0-1663932625344.png" alt="ToinkToinkTigger_0-1663932625344.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2022 11:30:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-format/m-p/1984687#M81259</guid>
      <dc:creator>ToinkToinkTigger</dc:creator>
      <dc:date>2022-09-23T11:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: Date format</title>
      <link>https://community.qlik.com/t5/App-Development/Date-format/m-p/1984693#M81262</link>
      <description>&lt;P&gt;like this in the first solution:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Date(Floor("Completion Date")) as CompletionDate,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;But for the second solution you would need to extract the string date beforehand, like&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6188"&gt;@sidhiq91&lt;/a&gt;&amp;nbsp;suggested. Maybe like this:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Date(Floor(Date#(SubField("Completion Date",' ',1),'D/M/YYYY')))&amp;nbsp;as CompletionDate,&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2022 11:45:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-format/m-p/1984693#M81262</guid>
      <dc:creator>canerkan</dc:creator>
      <dc:date>2022-09-23T11:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: Date format</title>
      <link>https://community.qlik.com/t5/App-Development/Date-format/m-p/1984696#M81264</link>
      <description>&lt;P&gt;Unfortunately both solutions dont work... Still not able to make a calendar measurement.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2022 11:58:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-format/m-p/1984696#M81264</guid>
      <dc:creator>ToinkToinkTigger</dc:creator>
      <dc:date>2022-09-23T11:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: Date format</title>
      <link>https://community.qlik.com/t5/App-Development/Date-format/m-p/1984700#M81265</link>
      <description>&lt;P&gt;But are Date values in your column? If your create a straight table with this column, what values are displayed?&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2022 12:05:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-format/m-p/1984700#M81265</guid>
      <dc:creator>canerkan</dc:creator>
      <dc:date>2022-09-23T12:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: Date format</title>
      <link>https://community.qlik.com/t5/App-Development/Date-format/m-p/1984763#M81273</link>
      <description>&lt;P&gt;This is how the values are displayed now after putting in the line of code. Looks like a date format, but still not detected by QS.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ToinkToinkTigger_0-1663941453819.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/89785i9108B8A8328A22C1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ToinkToinkTigger_0-1663941453819.png" alt="ToinkToinkTigger_0-1663941453819.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2022 13:57:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-format/m-p/1984763#M81273</guid>
      <dc:creator>ToinkToinkTigger</dc:creator>
      <dc:date>2022-09-23T13:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: Date format</title>
      <link>https://community.qlik.com/t5/App-Development/Date-format/m-p/1985115#M81319</link>
      <description>&lt;P&gt;Maybe there could be a problem if your standard date format in your main script part does not match the format. Have you checked that it's the same format?&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2022 06:09:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-format/m-p/1985115#M81319</guid>
      <dc:creator>canerkan</dc:creator>
      <dc:date>2022-09-26T06:09:24Z</dc:date>
    </item>
    <item>
      <title>Re: Date format</title>
      <link>https://community.qlik.com/t5/App-Development/Date-format/m-p/1985165#M81327</link>
      <description>&lt;P&gt;Hi Good morning. This is how it looks right now.&lt;/P&gt;
&lt;P&gt;Good news is that I have a column with a date now in MM/DD/YYYY format.&lt;/P&gt;
&lt;P&gt;Still cannot use the calendar measurement function in Qlik as it keeps saying the field is not a data field.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ToinkToinkTigger_0-1664178999878.png" style="width: 975px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/89848i830608F287F6CB61/image-dimensions/975x523?v=v2" width="975" height="523" role="button" title="ToinkToinkTigger_0-1664178999878.png" alt="ToinkToinkTigger_0-1664178999878.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2022 07:57:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-format/m-p/1985165#M81327</guid>
      <dc:creator>ToinkToinkTigger</dc:creator>
      <dc:date>2022-09-26T07:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: Date format</title>
      <link>https://community.qlik.com/t5/App-Development/Date-format/m-p/1985168#M81328</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;
&lt;P&gt;you need to Name your dimension :&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Date(......subfield(....))) AS "Completion date" ,&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2022 08:01:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-format/m-p/1985168#M81328</guid>
      <dc:creator>brunobertels</dc:creator>
      <dc:date>2022-09-26T08:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: Date format</title>
      <link>https://community.qlik.com/t5/App-Development/Date-format/m-p/1985171#M81329</link>
      <description>&lt;P&gt;Hi, sorry for being a noob... but what is the full line of code? tried several things but just getting an error after loading.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ToinkToinkTigger_0-1664179641658.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/89849i9A0A8A4C7BD0C37F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ToinkToinkTigger_0-1664179641658.png" alt="ToinkToinkTigger_0-1664179641658.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2022 08:07:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-format/m-p/1985171#M81329</guid>
      <dc:creator>ToinkToinkTigger</dc:creator>
      <dc:date>2022-09-26T08:07:32Z</dc:date>
    </item>
    <item>
      <title>Re: Date format</title>
      <link>https://community.qlik.com/t5/App-Development/Date-format/m-p/1985182#M81331</link>
      <description>&lt;P&gt;&lt;SPAN&gt;This is the line you need to user in your load script:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Date(Date#(SubField("Completion Date",' ',1),'D/M/YYYY'))&amp;nbsp;as "Completion Date",&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Then use Dimension "Completion Date" in your Visualization.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If it's still not working, can you provide some sample data?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2022 08:17:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-format/m-p/1985182#M81331</guid>
      <dc:creator>canerkan</dc:creator>
      <dc:date>2022-09-26T08:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: Date format</title>
      <link>https://community.qlik.com/t5/App-Development/Date-format/m-p/1985192#M81333</link>
      <description>&lt;P&gt;So the date fields are now being displayed properly. However, still no options to categorize by year or month etc.&amp;nbsp; How do we achieve this? Normally the calendar function does this. Which is not working.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ToinkToinkTigger_0-1664180678476.png" style="width: 591px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/89859i919DF599915B8052/image-dimensions/591x229?v=v2" width="591" height="229" role="button" title="ToinkToinkTigger_0-1664180678476.png" alt="ToinkToinkTigger_0-1664180678476.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2022 08:24:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-format/m-p/1985192#M81333</guid>
      <dc:creator>ToinkToinkTigger</dc:creator>
      <dc:date>2022-09-26T08:24:52Z</dc:date>
    </item>
    <item>
      <title>Re: Date format</title>
      <link>https://community.qlik.com/t5/App-Development/Date-format/m-p/1985205#M81335</link>
      <description>&lt;P&gt;You can do that yourself by using Date Functions like Month etc. in your load script. Or create a Mastercalendar.&lt;/P&gt;
&lt;P&gt;Check the link below for a pretty good collection of information to that topic by&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28038"&gt;@marcus_sommer&lt;/a&gt;&amp;nbsp;:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/QlikView-Documents/How-to-use-Master-Calendar-and-Date-Values/ta-p/1495741" target="_blank"&gt;https://community.qlik.com/t5/QlikView-Documents/How-to-use-Master-Calendar-and-Date-Values/ta-p/1495741&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2022 08:39:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-format/m-p/1985205#M81335</guid>
      <dc:creator>canerkan</dc:creator>
      <dc:date>2022-09-26T08:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: Date format</title>
      <link>https://community.qlik.com/t5/App-Development/Date-format/m-p/1985289#M81344</link>
      <description>&lt;P&gt;Okay Thanks everyone. So in Summary the lines of codes suggested fixed my issue. The auto calendar feature is now working after reloading the script and data source again.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks everyone for helping out. Until the next one &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2022 11:45:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-format/m-p/1985289#M81344</guid>
      <dc:creator>ToinkToinkTigger</dc:creator>
      <dc:date>2022-09-26T11:45:27Z</dc:date>
    </item>
  </channel>
</rss>

