<?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 Sorting by Date in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Sorting-by-Date/m-p/1113534#M19053</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;&lt;/P&gt;&lt;P&gt;I need an help for a sorting problem. &lt;BR /&gt;The records is composed by lots of timestamp in the format 'DD/MM/YYYY hh:mm:ss[.fff]' called DataAggiornamentoOp.&lt;BR /&gt;I want to create a linechart with this dimension&lt;/P&gt;&lt;P&gt;day(timestamp(DataAggiornamentoOp)) &amp;amp;'-'&amp;amp; month(timestamp(DataAggiornamentoOp))&amp;amp;'-'&amp;amp; year(timestamp(DataAggiornamentoOp)) &lt;/P&gt;&lt;P&gt;but I can't order the x-axis with the date, because of qlik understand this dimension like a "Text Field".&lt;/P&gt;&lt;P&gt;I can I solve this problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Aug 2016 10:43:18 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-08-30T10:43:18Z</dc:date>
    <item>
      <title>Sorting by Date</title>
      <link>https://community.qlik.com/t5/App-Development/Sorting-by-Date/m-p/1113534#M19053</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;&lt;/P&gt;&lt;P&gt;I need an help for a sorting problem. &lt;BR /&gt;The records is composed by lots of timestamp in the format 'DD/MM/YYYY hh:mm:ss[.fff]' called DataAggiornamentoOp.&lt;BR /&gt;I want to create a linechart with this dimension&lt;/P&gt;&lt;P&gt;day(timestamp(DataAggiornamentoOp)) &amp;amp;'-'&amp;amp; month(timestamp(DataAggiornamentoOp))&amp;amp;'-'&amp;amp; year(timestamp(DataAggiornamentoOp)) &lt;/P&gt;&lt;P&gt;but I can't order the x-axis with the date, because of qlik understand this dimension like a "Text Field".&lt;/P&gt;&lt;P&gt;I can I solve this problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2016 10:43:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sorting-by-Date/m-p/1113534#M19053</guid>
      <dc:creator />
      <dc:date>2016-08-30T10:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting by Date</title>
      <link>https://community.qlik.com/t5/App-Development/Sorting-by-Date/m-p/1113535#M19054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be change your dimension to this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Date(&lt;SPAN style="color: #ff0000;"&gt;Floor&lt;/SPAN&gt;(&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;DataAggiornamentoOp), 'DD-MM-YYYY')&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Update: Added the Floor based on Toni's response (Thanks Toni for pointing out my mistake)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2016 10:50:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sorting-by-Date/m-p/1113535#M19054</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-30T10:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting by Date</title>
      <link>https://community.qlik.com/t5/App-Development/Sorting-by-Date/m-p/1113536#M19055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I try every kind of transformation, but the problem is in the grouping of the linechart. When the timestamp data are aggregated (there is lots of data on a single date), the chart show the result correctly, but the x-axis become a string, and I can't select a correct sorting personalization&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2016 10:56:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sorting-by-Date/m-p/1113536#M19055</guid>
      <dc:creator />
      <dc:date>2016-08-30T10:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting by Date</title>
      <link>https://community.qlik.com/t5/App-Development/Sorting-by-Date/m-p/1113537#M19056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the data is loaded properly as a timestamp, you need to convert the underlying numerical value to a integer. This is done by using the Floor() function on the timestamp. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date(Floor(DataAggiornamentoOp), 'DD-MM-YYYY')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is recommended that yo add this as a new field to the data model, so that you only have to prepare the data during reload. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2016 11:02:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sorting-by-Date/m-p/1113537#M19056</guid>
      <dc:creator>ToniKautto</dc:creator>
      <dc:date>2016-08-30T11:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting by Date</title>
      <link>https://community.qlik.com/t5/App-Development/Sorting-by-Date/m-p/1113538#M19057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfcet, thanks Toni!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2016 11:06:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sorting-by-Date/m-p/1113538#M19057</guid>
      <dc:creator />
      <dc:date>2016-08-30T11:06:22Z</dc:date>
    </item>
  </channel>
</rss>

