<?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 in the wrong order in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Date-in-the-wrong-order/m-p/2450072#M97891</link>
    <description>Just checking whether you have fixed the sort order in the sheet</description>
    <pubDate>Wed, 08 May 2024 00:49:59 GMT</pubDate>
    <dc:creator>Aasir</dc:creator>
    <dc:date>2024-05-08T00:49:59Z</dc:date>
    <item>
      <title>Date in the wrong order</title>
      <link>https://community.qlik.com/t5/App-Development/Date-in-the-wrong-order/m-p/2450050#M97888</link>
      <description>&lt;P&gt;After using AutoML to predict weather, I inputted the predicted results and actual temperature table into Qlik Sense. The two are connected by date.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Formula of date for predicted weater:&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="java"&gt;Date#('202303' &amp;amp; num([automl_row_index]+1,'00'), 'yyyymmdd'), 'yyyy/mm/dd')
&lt;/LI-CODE&gt;
&lt;P&gt;Formula of date for actual weater:&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="java"&gt;Date( Date#( Year &amp;amp; Num(Month(Date#(Month, 'MMM')),'00') &amp;amp; num(Day,'00') ,'yyyymmddd'), 'yyyy/mm/dd') 
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yet, the dates are sorted like this in the filter pane:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LiquidSword_0-1715121572864.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/165670i1FED5DBE3337748B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LiquidSword_0-1715121572864.png" alt="LiquidSword_0-1715121572864.png" /&gt;&lt;/span&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LiquidSword_1-1715121651805.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/165672i0380319ABD2F69DD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LiquidSword_1-1715121651805.png" alt="LiquidSword_1-1715121651805.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;it is orderd by day instead of month and then day&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2024 22:42:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-in-the-wrong-order/m-p/2450050#M97888</guid>
      <dc:creator>LiquidSword</dc:creator>
      <dc:date>2024-05-07T22:42:28Z</dc:date>
    </item>
    <item>
      <title>Re: Date in the wrong order</title>
      <link>https://community.qlik.com/t5/App-Development/Date-in-the-wrong-order/m-p/2450072#M97891</link>
      <description>Just checking whether you have fixed the sort order in the sheet</description>
      <pubDate>Wed, 08 May 2024 00:49:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-in-the-wrong-order/m-p/2450072#M97891</guid>
      <dc:creator>Aasir</dc:creator>
      <dc:date>2024-05-08T00:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: Date in the wrong order</title>
      <link>https://community.qlik.com/t5/App-Development/Date-in-the-wrong-order/m-p/2450087#M97894</link>
      <description>&lt;P&gt;Your formating is wrong.&lt;/P&gt;
&lt;P&gt;Please use upper case when formating dates (and lower case when formating time)&lt;/P&gt;
&lt;P&gt;'m' = minutes&amp;nbsp;&lt;/P&gt;
&lt;P&gt;'M' = month&lt;/P&gt;
&lt;P&gt;I also notice that you are using 'ddd' when the correct seems to be 'dd' (or 'DD')&lt;/P&gt;
&lt;P&gt;Try this adjustment:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Date( Date#( Year &amp;amp; Num(Month(Date#(Month, 'MMM')),'00') &amp;amp; num(Day,'00') ,'YYYYMMDD'), 'YYYY/MM/DD')&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;You can also try this:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Date( MakeDate( Year , Month(Date#(Month, 'MMM')) , Day) , 'YYYY/MM/DD')&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2024 03:31:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-in-the-wrong-order/m-p/2450087#M97894</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2024-05-08T03:31:18Z</dc:date>
    </item>
  </channel>
</rss>

