<?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: Sorting in bar chart in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Sorting-in-bar-chart/m-p/1124507#M19545</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;you can do something like this&lt;/P&gt;&lt;P&gt;create the chart&lt;/P&gt;&lt;P&gt;use the date field as dimension&lt;/P&gt;&lt;P&gt;and use this expression&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Date={'&amp;gt;$(=date(max(Date)-5))'}&amp;gt;}Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 10 Jul 2016 14:23:48 GMT</pubDate>
    <dc:creator>lironbaram</dc:creator>
    <dc:date>2016-07-10T14:23:48Z</dc:date>
    <item>
      <title>Sorting in bar chart</title>
      <link>https://community.qlik.com/t5/App-Development/Sorting-in-bar-chart/m-p/1124506#M19544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yesterday I faced with the following problem in Qlik Sence. I have some sales data by days from the beginning of 2016Y. First of all I showed the total amount of sales by the last available day. This case was successfully solved.&lt;/P&gt;&lt;P&gt;Then I would like post the bar chart below the KPI. On X-axis - days, Y-axis - Sum of amount. BUT! I need show the sales amount by the last 5 days. In default settings I can sort top-10/50/100 by the total sum or write some formulas for sorting, but also it links with total sum, not the days.&lt;/P&gt;&lt;P&gt;Can anyone explain how to sort the last 5 days in bar chart?&lt;/P&gt;&lt;P&gt;Thanks in advance &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Nov 2024 10:31:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sorting-in-bar-chart/m-p/1124506#M19544</guid>
      <dc:creator />
      <dc:date>2024-11-16T10:31:19Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting in bar chart</title>
      <link>https://community.qlik.com/t5/App-Development/Sorting-in-bar-chart/m-p/1124507#M19545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;you can do something like this&lt;/P&gt;&lt;P&gt;create the chart&lt;/P&gt;&lt;P&gt;use the date field as dimension&lt;/P&gt;&lt;P&gt;and use this expression&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Date={'&amp;gt;$(=date(max(Date)-5))'}&amp;gt;}Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Jul 2016 14:23:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sorting-in-bar-chart/m-p/1124507#M19545</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2016-07-10T14:23:48Z</dc:date>
    </item>
  </channel>
</rss>

