<?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 Hard coded year to dynamic year in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Hard-coded-year-to-dynamic-year/m-p/172040#M502001</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;sparur wrote:&lt;BR /&gt;At first, I think that you should use Set Analysis, instead of IF statement into Sum() function...&lt;BR /&gt;and about your question...&lt;BR /&gt;try this:&lt;BR /&gt;sum(if(YEAR=$(=max(YEAR)) and...))&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;As per your suggestion I exactly did the same thing but it didn't seems to be working. Please check and let me know what may be wrong with the expression. After using this expression I am getting "No data to display"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;=sum(if(YEAR='$(=max(YEAR)' and wildmatch(Category,'*Call*') &amp;gt; 0 and (wildmatch([Agreement Met],'no')&amp;gt;0),1,0)) / sum(if(YEAR='$(=max(YEAR)' and wildmatch(Category,'*Call*') &amp;gt; 0 ,1,0))&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Jan 2011 12:12:11 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-01-17T12:12:11Z</dc:date>
    <item>
      <title>Hard coded year to dynamic year</title>
      <link>https://community.qlik.com/t5/QlikView/Hard-coded-year-to-dynamic-year/m-p/172037#M501998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Please make the hard coded year in the expression in to dynamic(Year as the selection). I know it is very simple to do so but it is not working.&lt;/P&gt;&lt;P&gt;i,e YEAR is hardcode here, I want to make it as Max(YEAR ). So that by default it will show the current year and if multiple year are selected it will show MAX(YEAR ) in selected.&lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;&lt;BR /&gt;=sum(if(YEAR='2011' and wildmatch(Category,'*Call*') &amp;gt; 0 and (wildmatch([Agreement Met],'no')&amp;gt;0),1,0)) /&lt;BR /&gt;sum(if(YEAR='2011' and wildmatch(Category,'*Call*') &amp;gt; 0 ,1,0))&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jan 2011 09:11:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hard-coded-year-to-dynamic-year/m-p/172037#M501998</guid>
      <dc:creator />
      <dc:date>2011-01-17T09:11:09Z</dc:date>
    </item>
    <item>
      <title>Hard coded year to dynamic year</title>
      <link>https://community.qlik.com/t5/QlikView/Hard-coded-year-to-dynamic-year/m-p/172038#M501999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Just replace the '2011' with one of:&lt;/P&gt;&lt;P&gt;Max(YEAR) - to respect chart dimensions and selections&lt;/P&gt;&lt;P&gt;Max(Total YEAR) - to respect selections that affect YEAR, but ignoring chart dimensions (This is probably what you want)&lt;/P&gt;&lt;P&gt;Max({YEAR=} Total YEAR) - ignore selections on year and chart dimensions&lt;BR /&gt;Max({YEAR=,MONTH=,DAY=} Total YEAR) - ignore selections on YEAR, MONTH or DAY&lt;/P&gt;&lt;P&gt;I often use the second. It has the advantage that if the user makes no selection, it contains the current year. If the user DOES make a selection that affects YEAR, it will contain the YEAR for the selection (or the maximum value of YEAR allowed by the selections if more than one year).&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jan 2011 09:32:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hard-coded-year-to-dynamic-year/m-p/172038#M501999</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2011-01-17T09:32:49Z</dc:date>
    </item>
    <item>
      <title>Hard coded year to dynamic year</title>
      <link>https://community.qlik.com/t5/QlikView/Hard-coded-year-to-dynamic-year/m-p/172039#M502000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;At first, I think that you should use Set Analysis, instead of IF statement into Sum() function...&lt;/P&gt;&lt;P&gt;and about your question...&lt;/P&gt;&lt;P&gt;try this:&lt;/P&gt;&lt;P&gt;sum(if(YEAR=$(=max(YEAR)) and...))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jan 2011 09:35:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hard-coded-year-to-dynamic-year/m-p/172039#M502000</guid>
      <dc:creator>sparur</dc:creator>
      <dc:date>2011-01-17T09:35:51Z</dc:date>
    </item>
    <item>
      <title>Hard coded year to dynamic year</title>
      <link>https://community.qlik.com/t5/QlikView/Hard-coded-year-to-dynamic-year/m-p/172040#M502001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;sparur wrote:&lt;BR /&gt;At first, I think that you should use Set Analysis, instead of IF statement into Sum() function...&lt;BR /&gt;and about your question...&lt;BR /&gt;try this:&lt;BR /&gt;sum(if(YEAR=$(=max(YEAR)) and...))&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;As per your suggestion I exactly did the same thing but it didn't seems to be working. Please check and let me know what may be wrong with the expression. After using this expression I am getting "No data to display"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;=sum(if(YEAR='$(=max(YEAR)' and wildmatch(Category,'*Call*') &amp;gt; 0 and (wildmatch([Agreement Met],'no')&amp;gt;0),1,0)) / sum(if(YEAR='$(=max(YEAR)' and wildmatch(Category,'*Call*') &amp;gt; 0 ,1,0))&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jan 2011 12:12:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hard-coded-year-to-dynamic-year/m-p/172040#M502001</guid>
      <dc:creator />
      <dc:date>2011-01-17T12:12:11Z</dc:date>
    </item>
    <item>
      <title>Hard coded year to dynamic year</title>
      <link>https://community.qlik.com/t5/QlikView/Hard-coded-year-to-dynamic-year/m-p/172041#M502002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I create a small qvw example. Look at the attachment.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jan 2011 12:18:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hard-coded-year-to-dynamic-year/m-p/172041#M502002</guid>
      <dc:creator>sparur</dc:creator>
      <dc:date>2011-01-17T12:18:24Z</dc:date>
    </item>
    <item>
      <title>Hard coded year to dynamic year</title>
      <link>https://community.qlik.com/t5/QlikView/Hard-coded-year-to-dynamic-year/m-p/172042#M502003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;Jonathan Dienst wrote:&lt;BR /&gt;Hi&lt;BR /&gt;Just replace the '2011' with one of:&lt;BR /&gt;Max(YEAR) - to respect chart dimensions and selections&lt;BR /&gt;Max(Total YEAR) - to respect selections that affect YEAR, but ignoring chart dimensions (This is probably what you want)&lt;BR /&gt;Max({YEAR=} Total YEAR) - ignore selections on year and chart dimensions&lt;BR /&gt;Max({YEAR=,MONTH=,DAY=} Total YEAR) - ignore selections on YEAR, MONTH or DAY&lt;BR /&gt;I often use the second. It has the advantage that if the user makes no selection, it contains the current year. If the user DOES make a selection that affects YEAR, it will contain the YEAR for the selection (or the maximum value of YEAR allowed by the selections if more than one year).&lt;BR /&gt;Hope that helps&lt;BR /&gt;Jonathan&amp;lt;div&amp;gt;&amp;lt;/div&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;I tried both 1st and 2nd but it didn't seems to be working. Can you please do the required changes in the expression please!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;=sum(if(FINISH_YEAR='Max(Total YEAR)' and wildmatch(Category,'*Call*') &amp;gt; 0 and (wildmatch([Agreement Met],'no')&amp;gt;0),1,0)) / sum(if(FINISH_YEAR='Max(Total YEAR)' and wildmatch(Category,'*Call*') &amp;gt; 0 ,1,0))&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jan 2011 12:28:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hard-coded-year-to-dynamic-year/m-p/172042#M502003</guid>
      <dc:creator />
      <dc:date>2011-01-17T12:28:37Z</dc:date>
    </item>
    <item>
      <title>Hard coded year to dynamic year</title>
      <link>https://community.qlik.com/t5/QlikView/Hard-coded-year-to-dynamic-year/m-p/172043#M502004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Take off the quote marks from the expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;sum(if(FINISH_YEAR=Max(Total YEAR) and wildmatch(Category,'*Call*') &amp;gt; 0 and (wildmatch([Agreement Met],'no')&amp;gt;0),1,0)) /&lt;BR /&gt;sum(if(FINISH_YEAR=Max(Total YEAR) and wildmatch(Category,'*Call*') &amp;gt; 0 ,1,0))&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;If that still does not work, test with this to make sure that the problem is not somewhere else&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;sum(if(FINISH_YEAR=Max(Total YEAR), 1, 0))&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You could also check the possible values for FINISH_YEAR (make a list box), and check that Max(Total YEAR) is giving you the value you expect (make a text box with =Max(Total YEAR) as the text)&lt;BR /&gt;&lt;BR /&gt;Jonathan&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jan 2011 14:30:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hard-coded-year-to-dynamic-year/m-p/172043#M502004</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2011-01-17T14:30:48Z</dc:date>
    </item>
    <item>
      <title>Hard coded year to dynamic year</title>
      <link>https://community.qlik.com/t5/QlikView/Hard-coded-year-to-dynamic-year/m-p/172044#M502005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;Jonathan Dienst wrote:&lt;BR /&gt;Hi&lt;BR /&gt;Take off the quote marks from the expression. &amp;lt;blockquote&amp;gt;sum(if(FINISH_YEAR=Max(Total YEAR) and wildmatch(Category,'*Call*') &amp;gt; 0 and (wildmatch([Agreement Met],'no')&amp;gt;0),1,0)) /&lt;BR /&gt;sum(if(FINISH_YEAR=Max(Total YEAR) and wildmatch(Category,'*Call*') &amp;gt; 0 ,1,0)) &amp;lt;/blockquote&amp;gt;&lt;BR /&gt;If that still does not work, test with this to make sure that the problem is not somewhere else&amp;lt;blockquote&amp;gt;sum(if(FINISH_YEAR=Max(Total YEAR), 1, 0))&lt;BR /&gt;&lt;BR /&gt;You could also check the possible values for FINISH_YEAR (make a list box), and check that Max(Total YEAR) is giving you the value you expect (make a text box with =Max(Total YEAR) as the text) &amp;lt;/blockquote&amp;gt;&amp;lt;div&amp;gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;It seems to work for the Max(Year) but when I use for the Max(Year)-1 it doesn't seems to work. Could you please check and let me know why it is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&amp;lt;blockquote&amp;gt;&amp;lt;pre&amp;gt;sum(if(FINISH_YEAR=Max(Total YEAR)-1 and wildmatch(Category,'*Call*') &amp;gt; 0 and (wildmatch([Agreement Met],'no')&amp;gt;0),1,0)) /&lt;BR /&gt;sum(if(FINISH_YEAR=Max(Total YEAR)-1 and wildmatch(Category,'*Call*') &amp;gt; 0 ,1,0))&lt;/PRE&gt;&lt;PRE style="margin:0px;"&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jan 2011 15:50:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hard-coded-year-to-dynamic-year/m-p/172044#M502005</guid>
      <dc:creator />
      <dc:date>2011-01-17T15:50:51Z</dc:date>
    </item>
    <item>
      <title>Hard coded year to dynamic year</title>
      <link>https://community.qlik.com/t5/QlikView/Hard-coded-year-to-dynamic-year/m-p/172045#M502006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=sum(if(Stock_Date=MaxStockDate,Stock_Value))&lt;/P&gt;&lt;P&gt;MaxStockDate is varable that contain&lt;/P&gt;&lt;P&gt;MaxStockDate = Max(BIll_Date)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jan 2011 15:53:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hard-coded-year-to-dynamic-year/m-p/172045#M502006</guid>
      <dc:creator>suniljain</dc:creator>
      <dc:date>2011-01-17T15:53:26Z</dc:date>
    </item>
    <item>
      <title>Hard coded year to dynamic year</title>
      <link>https://community.qlik.com/t5/QlikView/Hard-coded-year-to-dynamic-year/m-p/172046#M502007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan,&lt;/P&gt;&lt;P&gt;I think once I select the dimension(Year) it does seems to be working properly. Max(Year) seems to be fine but Max(Year)-1 doesn't look good.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jan 2011 15:58:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hard-coded-year-to-dynamic-year/m-p/172046#M502007</guid>
      <dc:creator />
      <dc:date>2011-01-17T15:58:51Z</dc:date>
    </item>
    <item>
      <title>Hard coded year to dynamic year</title>
      <link>https://community.qlik.com/t5/QlikView/Hard-coded-year-to-dynamic-year/m-p/172047#M502008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;Sunil Jain wrote:&lt;BR /&gt;=sum(if(Stock_Date=MaxStockDate,Stock_Value))&lt;BR /&gt;MaxStockDate is varable that contain&lt;BR /&gt;MaxStockDate = Max(BIll_Date)&amp;lt;div&amp;gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry I tried it but didn't seems to be working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt; =sum(if(YEAR=MaxYear and wildmatch(Category,'*Call*') &amp;gt; 0 and (wildmatch([Agreement Met],'no')&amp;gt;0),1,0)) / sum(if(YEAR=MaxYear and wildmatch(Category,'*Call*') &amp;gt; 0 ,1,0))&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;MaxYear is varable that contain&lt;/P&gt;&lt;P&gt;MaxYear = Max(FINISH_YEAR)&lt;/P&gt;&lt;P&gt;PrvYear is varable that contain&lt;/P&gt;&lt;P&gt;Prv = Max(FINISH_YEAR)-1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jan 2011 16:12:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hard-coded-year-to-dynamic-year/m-p/172047#M502008</guid>
      <dc:creator />
      <dc:date>2011-01-17T16:12:08Z</dc:date>
    </item>
    <item>
      <title>Hard coded year to dynamic year</title>
      <link>https://community.qlik.com/t5/QlikView/Hard-coded-year-to-dynamic-year/m-p/172048#M502009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rikab&lt;/P&gt;&lt;P&gt;When you make a selection on YEAR, Max(YEAR) or Max(TOTAL Year) will contain the selected year, and your expresssion will return data that is related to that year. Max(YEAR)-1 refers to a year that is outside the year selection and will therefore return nothing. You can verify this by selecting two consecutive years (say 2010 and 2009).&lt;/P&gt;&lt;P&gt;This is where set analysis comes in (apart from being more efficient). This might work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;Count({&amp;lt;YEAR=,FINISH_YEAR={'$(=Max(Total YEAR)-1)'}, Category={"=Wildmatch(Category,'*Call*') &amp;gt; 0"}, [Agreement Met]={"=Wildmatch([Agreement Met],'no') &amp;gt; 0"}&amp;gt;} Category) /&lt;BR /&gt;Count({&amp;lt;YEAR=,FINISH_YEAR={'$(=Max(Total YEAR)-1)'}, Category={"=Wildmatch(Category,'*Call*') &amp;gt; 0"}&amp;gt;} Category)&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;BR /&gt;Jonathan&lt;/P&gt;&lt;P&gt;Edit: Fixed missing opening &amp;lt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jan 2011 17:13:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hard-coded-year-to-dynamic-year/m-p/172048#M502009</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2011-01-17T17:13:23Z</dc:date>
    </item>
    <item>
      <title>Hard coded year to dynamic year</title>
      <link>https://community.qlik.com/t5/QlikView/Hard-coded-year-to-dynamic-year/m-p/172049#M502010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan&lt;/P&gt;&lt;P&gt;When I select 2011 I want the expression to filter for 2010, if I select 2010 i want the expression to filter for 2009. I agree with you that if I select least year then it is not going to show anything. But atleast when I select for 2010 it should show for 2009. When I hardcode it, it is working fine.&lt;/P&gt;&lt;P&gt;Please check and let me know it is very urgent.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jan 2011 17:49:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hard-coded-year-to-dynamic-year/m-p/172049#M502010</guid>
      <dc:creator />
      <dc:date>2011-01-17T17:49:27Z</dc:date>
    </item>
    <item>
      <title>Hard coded year to dynamic year</title>
      <link>https://community.qlik.com/t5/QlikView/Hard-coded-year-to-dynamic-year/m-p/172050#M502011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rikab&lt;/P&gt;&lt;P&gt;That is what the expression in my earlier post should do&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jan 2011 17:58:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hard-coded-year-to-dynamic-year/m-p/172050#M502011</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2011-01-17T17:58:37Z</dc:date>
    </item>
    <item>
      <title>Hard coded year to dynamic year</title>
      <link>https://community.qlik.com/t5/QlikView/Hard-coded-year-to-dynamic-year/m-p/172051#M502012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What I am not able to understand is that I dont have YEAR field but you use YEAR field. I have only FINISH_YEAR other than that I have nothing.&lt;/P&gt;&lt;P&gt;I am really sorry for the inconvenience.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jan 2011 18:02:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hard-coded-year-to-dynamic-year/m-p/172051#M502012</guid>
      <dc:creator />
      <dc:date>2011-01-17T18:02:54Z</dc:date>
    </item>
    <item>
      <title>Hard coded year to dynamic year</title>
      <link>https://community.qlik.com/t5/QlikView/Hard-coded-year-to-dynamic-year/m-p/172052#M502013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Please look into the below application which works when I don't select the dimension(YEAR) value. Without any selection it works fine but when I select it doesn't work. Can you please do the required changes in this expression itself.&lt;/P&gt;&lt;P&gt;I am not able to understand why you are using YEAR when only FINISH_YEAR is available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;=sum(if(FINISH_YEAR=Max(Total FINISH_YEAR)-2 and wildmatch(Category,'*Call*') &amp;gt; 0 and (wildmatch([Agreement Met],'no')&amp;gt;0),1,0)) /&lt;BR /&gt;sum(if(FINISH_YEAR=Max(Total FINISH_YEAR)-2 and wildmatch(Category,'*Call*') &amp;gt; 0 ,1,0))&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jan 2011 18:29:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hard-coded-year-to-dynamic-year/m-p/172052#M502013</guid>
      <dc:creator />
      <dc:date>2011-01-17T18:29:48Z</dc:date>
    </item>
    <item>
      <title>Hard coded year to dynamic year</title>
      <link>https://community.qlik.com/t5/QlikView/Hard-coded-year-to-dynamic-year/m-p/172053#M502014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;Jonathan Dienst wrote:&lt;BR /&gt;Rikab&lt;BR /&gt;That is what the expression in my earlier post should do&lt;BR /&gt;Jonathan&amp;lt;div&amp;gt;&amp;lt;/div&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Still I tried with what you have given but still it didn't work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jan 2011 03:57:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hard-coded-year-to-dynamic-year/m-p/172053#M502014</guid>
      <dc:creator />
      <dc:date>2011-01-18T03:57:39Z</dc:date>
    </item>
    <item>
      <title>Hard coded year to dynamic year</title>
      <link>https://community.qlik.com/t5/QlikView/Hard-coded-year-to-dynamic-year/m-p/172054#M502015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The &lt;B&gt;Year&lt;/B&gt; field that they are using in the expression is equivalent to the Date/Year Field in your table that you use..&lt;/P&gt;&lt;P&gt;lets say I have a table&lt;/P&gt;&lt;P&gt;Year(DateFinished) as Finish_Date. You will use Finish_Date instead of Year(w/c are in the posts).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jan 2011 04:07:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hard-coded-year-to-dynamic-year/m-p/172054#M502015</guid>
      <dc:creator />
      <dc:date>2011-01-18T04:07:03Z</dc:date>
    </item>
    <item>
      <title>Hard coded year to dynamic year</title>
      <link>https://community.qlik.com/t5/QlikView/Hard-coded-year-to-dynamic-year/m-p/172055#M502016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes thats the same question I am asking too. When Finish_Year is there why they are using Year as a field and also Finish_Year as a field in the expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jan 2011 06:14:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hard-coded-year-to-dynamic-year/m-p/172055#M502016</guid>
      <dc:creator />
      <dc:date>2011-01-18T06:14:36Z</dc:date>
    </item>
    <item>
      <title>Hard coded year to dynamic year</title>
      <link>https://community.qlik.com/t5/QlikView/Hard-coded-year-to-dynamic-year/m-p/172056#M502017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;they're just using it as a description not as the field per se..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jan 2011 06:21:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hard-coded-year-to-dynamic-year/m-p/172056#M502017</guid>
      <dc:creator />
      <dc:date>2011-01-18T06:21:29Z</dc:date>
    </item>
  </channel>
</rss>

