<?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: Expression Code in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Expression-Code/m-p/1805364#M65462</link>
    <description>&lt;P&gt;So you want April 2021 until March 22? You could just say&amp;nbsp;&lt;/P&gt;&lt;P&gt;IF([&lt;SPAN&gt;Recruitment Year Month] &amp;gt;= 'Apr 2021' and [Recruitment Year Month]&amp;lt;='Mar 2022', [Recruitment Year Month])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;There are times when those kind of expressions are absolutely necessary for 1 off scenarios. What I like more is to have that kind of expression in the Load Script so that you can set some kind of flag based on current dates. I'm guessing you want the dates to be rolling in some way, and if they are buried in calculated dimensions it's hard to remember to change those things. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;There are always times when we try and brute force what we want into a chart just to see if it works. But I prefer quickly changing to embedding the code into the script so that we can be consistent in how we apply it and to ensure that it floats as we move forward in time. &lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 05 May 2021 12:01:39 GMT</pubDate>
    <dc:creator>Dalton_Ruer</dc:creator>
    <dc:date>2021-05-05T12:01:39Z</dc:date>
    <item>
      <title>Expression Code</title>
      <link>https://community.qlik.com/t5/App-Development/Expression-Code/m-p/1804879#M65400</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;I have this Graph, Where I am representing month wise Salary. I want only month from April to March. But I have the data till September.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sona_sa_0-1620119070638.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/54199iF5D2EAB598FBC92B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sona_sa_0-1620119070638.png" alt="sona_sa_0-1620119070638.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have used this dimension -&amp;nbsp;=If([Recruitment Year Month]&amp;lt;&amp;gt;'Jan 2021' and [Recruitment Year Month]&amp;lt;&amp;gt;'Feb 2021' and [Recruitment Year Month]&amp;lt;&amp;gt;'Mar 2021',[Recruitment Year Month]).&lt;/P&gt;&lt;P&gt;How I can increase till March 2022. If I do not have data for after Sep 2021.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 04 May 2021 09:28:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Expression-Code/m-p/1804879#M65400</guid>
      <dc:creator>sona_sa</dc:creator>
      <dc:date>2021-05-04T09:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Code</title>
      <link>https://community.qlik.com/t5/App-Development/Expression-Code/m-p/1805364#M65462</link>
      <description>&lt;P&gt;So you want April 2021 until March 22? You could just say&amp;nbsp;&lt;/P&gt;&lt;P&gt;IF([&lt;SPAN&gt;Recruitment Year Month] &amp;gt;= 'Apr 2021' and [Recruitment Year Month]&amp;lt;='Mar 2022', [Recruitment Year Month])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;There are times when those kind of expressions are absolutely necessary for 1 off scenarios. What I like more is to have that kind of expression in the Load Script so that you can set some kind of flag based on current dates. I'm guessing you want the dates to be rolling in some way, and if they are buried in calculated dimensions it's hard to remember to change those things. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;There are always times when we try and brute force what we want into a chart just to see if it works. But I prefer quickly changing to embedding the code into the script so that we can be consistent in how we apply it and to ensure that it floats as we move forward in time. &lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 May 2021 12:01:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Expression-Code/m-p/1805364#M65462</guid>
      <dc:creator>Dalton_Ruer</dc:creator>
      <dc:date>2021-05-05T12:01:39Z</dc:date>
    </item>
  </channel>
</rss>

