<?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 Loading the date in descing order in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Loading-the-date-in-descing-order/m-p/1820590#M1213445</link>
    <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;I was trying to load the dates in descending&amp;nbsp; order ,hence I am doing the below enclosed steps at backend but for some reason its not working&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Sample Data&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;t:&lt;BR /&gt;load&lt;BR /&gt;Date(Date,'DD/MM/YYYY') as Date,&lt;BR /&gt;value,&lt;BR /&gt;Date(Date,'MMYY') as MonthYear;&lt;BR /&gt;load * Inline&lt;BR /&gt;[&lt;BR /&gt;Date,value&lt;BR /&gt;10/05/2021,1000&lt;BR /&gt;11/05/2021,2000&lt;BR /&gt;29/05/2021,3000&lt;BR /&gt;05/06/2021,4000&lt;BR /&gt;07/06/2021,5000&lt;BR /&gt;30/06/2021,6000&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;load&lt;BR /&gt;Date,&lt;BR /&gt;value&lt;BR /&gt;resident t&lt;BR /&gt;order by Date desc ;&lt;BR /&gt;drop table t;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Current Output :&lt;/STRONG&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 305px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/58223iD5C19C93E4781D40/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Required Output:&lt;/P&gt;&lt;P&gt;30/06/2021&lt;/P&gt;&lt;P&gt;07/06/2021&lt;/P&gt;&lt;P&gt;05/06/2021&lt;/P&gt;&lt;P&gt;29/05/2021&lt;/P&gt;&lt;P&gt;11/05/2021&lt;/P&gt;&lt;P&gt;10/05/2021&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Thu, 08 Jul 2021 06:30:54 GMT</pubDate>
    <dc:creator>kunkumnaveen</dc:creator>
    <dc:date>2021-07-08T06:30:54Z</dc:date>
    <item>
      <title>Loading the date in descing order</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-the-date-in-descing-order/m-p/1820590#M1213445</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;I was trying to load the dates in descending&amp;nbsp; order ,hence I am doing the below enclosed steps at backend but for some reason its not working&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Sample Data&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;t:&lt;BR /&gt;load&lt;BR /&gt;Date(Date,'DD/MM/YYYY') as Date,&lt;BR /&gt;value,&lt;BR /&gt;Date(Date,'MMYY') as MonthYear;&lt;BR /&gt;load * Inline&lt;BR /&gt;[&lt;BR /&gt;Date,value&lt;BR /&gt;10/05/2021,1000&lt;BR /&gt;11/05/2021,2000&lt;BR /&gt;29/05/2021,3000&lt;BR /&gt;05/06/2021,4000&lt;BR /&gt;07/06/2021,5000&lt;BR /&gt;30/06/2021,6000&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;load&lt;BR /&gt;Date,&lt;BR /&gt;value&lt;BR /&gt;resident t&lt;BR /&gt;order by Date desc ;&lt;BR /&gt;drop table t;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Current Output :&lt;/STRONG&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 305px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/58223iD5C19C93E4781D40/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Required Output:&lt;/P&gt;&lt;P&gt;30/06/2021&lt;/P&gt;&lt;P&gt;07/06/2021&lt;/P&gt;&lt;P&gt;05/06/2021&lt;/P&gt;&lt;P&gt;29/05/2021&lt;/P&gt;&lt;P&gt;11/05/2021&lt;/P&gt;&lt;P&gt;10/05/2021&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jul 2021 06:30:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-the-date-in-descing-order/m-p/1820590#M1213445</guid>
      <dc:creator>kunkumnaveen</dc:creator>
      <dc:date>2021-07-08T06:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: Loading the date in descing order</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-the-date-in-descing-order/m-p/1820607#M1213448</link>
      <description>&lt;P&gt;The sorted table doesn't change the order within the field-values by an existing field - means you need a new field for it, for example with:&lt;/P&gt;&lt;P&gt;t:&lt;BR /&gt;load&lt;BR /&gt;Date(Date,'DD/MM/YYYY') as Date,&lt;BR /&gt;value,&lt;BR /&gt;Date(Date,'MMYY') as MonthYear;&lt;BR /&gt;load * Inline&lt;BR /&gt;[&lt;BR /&gt;Date,value&lt;BR /&gt;10/05/2021,1000&lt;BR /&gt;11/05/2021,2000&lt;BR /&gt;29/05/2021,3000&lt;BR /&gt;05/06/2021,4000&lt;BR /&gt;07/06/2021,5000&lt;BR /&gt;30/06/2021,6000&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;load&lt;BR /&gt;Date&lt;STRONG&gt; as SortedDate&lt;/STRONG&gt;,&lt;BR /&gt;value&lt;BR /&gt;resident t&lt;BR /&gt;order by Date desc ;&lt;BR /&gt;drop table t;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;rename field SortedDate to Date;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Further you should change:&lt;/P&gt;&lt;P&gt;Date(Date,'MMYY') as MonthYear&lt;/P&gt;&lt;P&gt;into something like:&lt;/P&gt;&lt;P&gt;Date(floor(monthstart(Date)),'MMYY') as MonthYear&lt;/P&gt;&lt;P&gt;because a formatting like date() doesn't change the values - they just look differently.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jul 2021 07:17:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-the-date-in-descing-order/m-p/1820607#M1213448</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2021-07-08T07:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: Loading the date in descing order</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-the-date-in-descing-order/m-p/1820670#M1213458</link>
      <description>&lt;P&gt;Hello Marcus,&lt;/P&gt;&lt;P&gt;Thanks for the reply&lt;/P&gt;&lt;P&gt;I was using your code for test purpose on sample data , but still the output remains&amp;nbsp; same ,I mean it doesn't change anything&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 245px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/58249i186F66DB393E4A21/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Code&amp;nbsp;&lt;/P&gt;&lt;P&gt;t:&lt;BR /&gt;load&lt;BR /&gt;Date(Date,'DD/MM/YYYY') as Date,&lt;BR /&gt;value,&lt;BR /&gt;Date(Date,'MMYY') as MonthYear;&lt;BR /&gt;load * Inline&lt;BR /&gt;[&lt;BR /&gt;Date,value&lt;BR /&gt;10/05/2021,1000&lt;BR /&gt;11/05/2021,2000&lt;BR /&gt;29/05/2021,3000&lt;BR /&gt;05/06/2021,4000&lt;BR /&gt;07/06/2021,5000&lt;BR /&gt;30/06/2021,6000&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;load&lt;BR /&gt;Date as SortedDate,&lt;BR /&gt;value&lt;BR /&gt;resident t&lt;BR /&gt;order by Date desc ;&lt;BR /&gt;drop table t;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do I am missing anything in the code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jul 2021 09:47:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-the-date-in-descing-order/m-p/1820670#M1213458</guid>
      <dc:creator>kunkumnaveen</dc:creator>
      <dc:date>2021-07-08T09:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: Loading the date in descing order</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-the-date-in-descing-order/m-p/1820702#M1213461</link>
      <description>&lt;P&gt;Hello All, any suggestions on the above requirement please&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jul 2021 10:41:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-the-date-in-descing-order/m-p/1820702#M1213461</guid>
      <dc:creator>kunkumnaveen</dc:creator>
      <dc:date>2021-07-08T10:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: Loading the date in descing order</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-the-date-in-descing-order/m-p/1820704#M1213462</link>
      <description>&lt;P&gt;&lt;EM&gt;Have to tried to use sorting (DESC) from the list box properties ?&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jul 2021 10:54:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-the-date-in-descing-order/m-p/1820704#M1213462</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2021-07-08T10:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: Loading the date in descing order</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-the-date-in-descing-order/m-p/1820709#M1213464</link>
      <description>&lt;P&gt;Hi ,I am showing it in any list box, if you see the above pic I have them on selection strip on top&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jul 2021 11:06:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-the-date-in-descing-order/m-p/1820709#M1213464</guid>
      <dc:creator>kunkumnaveen</dc:creator>
      <dc:date>2021-07-08T11:06:38Z</dc:date>
    </item>
    <item>
      <title>Re: Loading the date in descing order</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-the-date-in-descing-order/m-p/1820710#M1213465</link>
      <description>&lt;P&gt;Sorry ,ignore the earlier message&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hi ,I am &lt;FONT color="#FF0000"&gt;Not&lt;/FONT&gt;&amp;nbsp; showing it in any list box, if you see the above pic I have them on selection strip on top&amp;nbsp; ,I mean on open the app default max date get select&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jul 2021 11:15:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-the-date-in-descing-order/m-p/1820710#M1213465</guid>
      <dc:creator>kunkumnaveen</dc:creator>
      <dc:date>2021-07-08T11:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: Loading the date in descing order</title>
      <link>https://community.qlik.com/t5/QlikView/Loading-the-date-in-descing-order/m-p/1820890#M1213480</link>
      <description>&lt;P&gt;With my suggestion the sorting on the field-level will work. How the values are displayed within the UI is mainly independent from it because all the objects have an own sorting-feature and per their default-settings they don't use the load-order for the sorting else they try to interpret the content respectively are using the automatically created and/or intentionally changed/adjusted field-tags for it. This means the sorting-order must be adjusted if you want a different one.&lt;/P&gt;&lt;P&gt;I'm not sure but I think the selection-panel from Sense isn't a typically object which has the usually object-properties else it's a specialized object which may in parts be adjusted through the document-properties - at least in View you could set the sorting and formatting of the fields there on a document-global level. I could imagine that this is similar in Sense unless that those settings are in a different place. I'm not familiar enough with Sense to say where it might be&amp;nbsp; - just take a look on settings on a document-level, it might be also by the master-items.&lt;/P&gt;&lt;P&gt;- Marcus&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jul 2021 06:25:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Loading-the-date-in-descing-order/m-p/1820890#M1213480</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2021-07-09T06:25:34Z</dc:date>
    </item>
  </channel>
</rss>

