<?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 Chart Sort Order Weekday &amp;amp; Time in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Chart-Sort-Order-Weekday-amp-Time/m-p/1931610#M76759</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;I have a chart which is aggregating averages (this part works as expected). Although I need this to be over Weekday and Hour. My Dimension for that is:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;(WEEKDAY([Time of Complete.Date])&amp;amp;' '&amp;amp; Interval( (HOUR([Time of Complete])) / 24 , 'hh:mm'))&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;But I cannot get this to sort in any logical order.&lt;/P&gt;
&lt;P&gt;Can I get this to work via an expression?&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Tue, 17 May 2022 10:07:05 GMT</pubDate>
    <dc:creator>CHL</dc:creator>
    <dc:date>2022-05-17T10:07:05Z</dc:date>
    <item>
      <title>Chart Sort Order Weekday &amp; Time</title>
      <link>https://community.qlik.com/t5/App-Development/Chart-Sort-Order-Weekday-amp-Time/m-p/1931610#M76759</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;I have a chart which is aggregating averages (this part works as expected). Although I need this to be over Weekday and Hour. My Dimension for that is:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;(WEEKDAY([Time of Complete.Date])&amp;amp;' '&amp;amp; Interval( (HOUR([Time of Complete])) / 24 , 'hh:mm'))&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;But I cannot get this to sort in any logical order.&lt;/P&gt;
&lt;P&gt;Can I get this to work via an expression?&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2022 10:07:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Chart-Sort-Order-Weekday-amp-Time/m-p/1931610#M76759</guid>
      <dc:creator>CHL</dc:creator>
      <dc:date>2022-05-17T10:07:05Z</dc:date>
    </item>
    <item>
      <title>Re: Chart Sort Order Weekday &amp; Time</title>
      <link>https://community.qlik.com/t5/App-Development/Chart-Sort-Order-Weekday-amp-Time/m-p/1931616#M76761</link>
      <description>&lt;P&gt;You could use a Dual() to get this dimension to sort correctly - currently, the sort will be based on alphabetical sorting since you've created a string (by concatenating the whitespace). Should be something like:&lt;/P&gt;
&lt;P&gt;Dual(&lt;/P&gt;
&lt;P&gt;(WEEKDAY([Time of Complete.Date])&amp;amp;' '&amp;amp; Interval( (HOUR([Time of Complete])) / 24 , 'hh:mm')),&lt;/P&gt;
&lt;P&gt;num(WEEKDAY([Time of Complete.Date])) + (HOUR([Time of Complete]) / 24)&lt;/P&gt;
&lt;P&gt;)&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2022 10:15:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Chart-Sort-Order-Weekday-amp-Time/m-p/1931616#M76761</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2022-05-17T10:15:23Z</dc:date>
    </item>
  </channel>
</rss>

