<?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: Changing date range in bar chart in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Changing-date-range-in-bar-chart/m-p/1811031#M66099</link>
    <description>&lt;P&gt;A couple of issues with your set analysis.&amp;nbsp; First, you can't use a function like Year() as the left side of a comparison.&amp;nbsp; You would need to create a &lt;EM&gt;&lt;STRONG&gt;Year&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&lt;/EM&gt;field in the load scripts to filter on Year in set analysis.&amp;nbsp; Second, the correct syntax for using greater than in set analysis would be is {$&amp;lt;&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;fieldname&lt;/STRONG&gt;&lt;/EM&gt;&lt;EM&gt;={"&amp;gt;2019"} &amp;gt;}&amp;nbsp;&lt;/EM&gt;:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For now, you could try:&amp;nbsp; {&amp;lt;&amp;nbsp; Date={"&amp;gt;01/01/2019"}&amp;nbsp; &amp;gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 27 May 2021 12:32:07 GMT</pubDate>
    <dc:creator>GaryGiles</dc:creator>
    <dc:date>2021-05-27T12:32:07Z</dc:date>
    <item>
      <title>Changing date range in bar chart</title>
      <link>https://community.qlik.com/t5/App-Development/Changing-date-range-in-bar-chart/m-p/1810919#M66086</link>
      <description>&lt;P&gt;Hello &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have the following (simple) problem:&lt;/P&gt;&lt;P&gt;In the following bar chart I want to show the data since 2010.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="schuffe_0-1622095938216.png" style="width: 585px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/55784i21231A3D6F20691C/image-dimensions/585x240?v=v2" width="585" height="240" role="button" title="schuffe_0-1622095938216.png" alt="schuffe_0-1622095938216.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The formula i use looks like this (working perfectly):&lt;/P&gt;&lt;P&gt;Sum(aggr(Sum(If(Date=RandColumn,1,0))/count(Date), Date))&lt;/P&gt;&lt;P&gt;And now I want to bring in the Filter 'Date &amp;gt; 2009'&lt;/P&gt;&lt;P&gt;So i thought it has to be something like this :&amp;nbsp;&lt;/P&gt;&lt;P&gt;{&amp;lt;&amp;nbsp; YEAR(Date) &amp;gt; 2009&amp;nbsp; &amp;gt;}&lt;/P&gt;&lt;P&gt;But no matter where I put this condition it's not working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone help ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 06:18:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Changing-date-range-in-bar-chart/m-p/1810919#M66086</guid>
      <dc:creator>schuffe</dc:creator>
      <dc:date>2021-05-27T06:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: Changing date range in bar chart</title>
      <link>https://community.qlik.com/t5/App-Development/Changing-date-range-in-bar-chart/m-p/1811031#M66099</link>
      <description>&lt;P&gt;A couple of issues with your set analysis.&amp;nbsp; First, you can't use a function like Year() as the left side of a comparison.&amp;nbsp; You would need to create a &lt;EM&gt;&lt;STRONG&gt;Year&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&lt;/EM&gt;field in the load scripts to filter on Year in set analysis.&amp;nbsp; Second, the correct syntax for using greater than in set analysis would be is {$&amp;lt;&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;fieldname&lt;/STRONG&gt;&lt;/EM&gt;&lt;EM&gt;={"&amp;gt;2019"} &amp;gt;}&amp;nbsp;&lt;/EM&gt;:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For now, you could try:&amp;nbsp; {&amp;lt;&amp;nbsp; Date={"&amp;gt;01/01/2019"}&amp;nbsp; &amp;gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 12:32:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Changing-date-range-in-bar-chart/m-p/1811031#M66099</guid>
      <dc:creator>GaryGiles</dc:creator>
      <dc:date>2021-05-27T12:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: Changing date range in bar chart</title>
      <link>https://community.qlik.com/t5/App-Development/Changing-date-range-in-bar-chart/m-p/1811060#M66102</link>
      <description>&lt;P&gt;Thank You, that's working &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 12:28:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Changing-date-range-in-bar-chart/m-p/1811060#M66102</guid>
      <dc:creator>schuffe</dc:creator>
      <dc:date>2021-05-27T12:28:46Z</dc:date>
    </item>
  </channel>
</rss>

