<?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: Condition Date to see a chart in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Condition-Date-to-see-a-chart/m-p/1729700#M55641</link>
    <description>&lt;P&gt;You can try something like below expression in your chart&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Year ={"&amp;gt;=$(=max(Year)-6)"}&amp;gt;}Sales)&lt;/P&gt;</description>
    <pubDate>Tue, 21 Jul 2020 21:06:07 GMT</pubDate>
    <dc:creator>Kushal_Chawda</dc:creator>
    <dc:date>2020-07-21T21:06:07Z</dc:date>
    <item>
      <title>Condition Date to see a chart</title>
      <link>https://community.qlik.com/t5/App-Development/Condition-Date-to-see-a-chart/m-p/1729689#M55638</link>
      <description>&lt;P&gt;Hi to eveyone! I have a bar chart with years as dimension and some measures. I would show this chart just for the last six years...than I thought that set a condition in a graph it would be fine. Maybe creating a variable&lt;/P&gt;&lt;P&gt;vYear=Max(Year) - 6&lt;/P&gt;&lt;P&gt;or&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;vCurrentYear=year(today())&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;and setting a condition in the chart someting like:&lt;/P&gt;&lt;P&gt;Year&amp;gt;vYear, or&amp;nbsp; vCurrentYear-6 &amp;gt;Year&amp;gt;vCurrentYear&lt;/P&gt;&lt;P&gt;But these kind of conditions (greater and minus ) seem not work . Do you have any suggestion or maybe another idea to get a chart that shows only last six years? Thanks a lot&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 18:20:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Condition-Date-to-see-a-chart/m-p/1729689#M55638</guid>
      <dc:creator>Shi</dc:creator>
      <dc:date>2024-11-16T18:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: Condition Date to see a chart</title>
      <link>https://community.qlik.com/t5/App-Development/Condition-Date-to-see-a-chart/m-p/1729700#M55641</link>
      <description>&lt;P&gt;You can try something like below expression in your chart&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Year ={"&amp;gt;=$(=max(Year)-6)"}&amp;gt;}Sales)&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jul 2020 21:06:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Condition-Date-to-see-a-chart/m-p/1729700#M55641</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-07-21T21:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: Condition Date to see a chart</title>
      <link>https://community.qlik.com/t5/App-Development/Condition-Date-to-see-a-chart/m-p/1729766#M55650</link>
      <description>&lt;P&gt;Using set analysis like &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/336"&gt;@Kushal_Chawda&lt;/a&gt;&amp;nbsp;suggested is a good approach. An alternative is to create a custom dimension in your chart replacing your year dimensionnwhit this expression:&lt;/P&gt;&lt;P&gt;=if([Year] &amp;gt; year(today())-6, [Year], Null())&lt;/P&gt;&lt;P&gt;Then make sure to hide null dimension values in your chart.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jul 2020 05:18:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Condition-Date-to-see-a-chart/m-p/1729766#M55650</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2020-07-22T05:18:36Z</dc:date>
    </item>
  </channel>
</rss>

