<?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: match in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/match/m-p/989091#M337140</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, try with this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;let&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;vCurrentYear&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Today&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;());&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;let&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;vPreviousYear&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Today&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;())-1;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;LOAD&lt;/TD&gt;&lt;TD&gt;Distinct&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Year Count] as [Year],&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [From Month],&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [From Month No],&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;FROM Calender_Dimension.qvd(qvd)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;where&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Match&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Year Count]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'$(vCurrentYear)','$(vPreviousYear)'); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Elena&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Nov 2015 09:33:10 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-11-26T09:33:10Z</dc:date>
    <item>
      <title>match</title>
      <link>https://community.qlik.com/t5/QlikView/match/m-p/989084#M337133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have variables as follows:&lt;/P&gt;&lt;P&gt;vCurrentYear=Year(Today())&lt;/P&gt;&lt;P&gt;vPreviousYear=&lt;SPAN style="font-size: 13.3333px;"&gt;Year(Today())-1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The script as:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;LOAD&lt;/TD&gt;&lt;TD&gt;Distinct&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Year Count] as [Year],&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [From Month],&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [From Month No],&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;FROM Calender_Dimension.qvd(qvd)&lt;/P&gt;&lt;P&gt;where Match(year([Calendar Date]),'$(vCurrentYear)','$(vPreviousYear)');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i reload it is throwing error.&lt;/P&gt;&lt;P&gt;can any 1 tell y?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2015 09:24:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/match/m-p/989084#M337133</guid>
      <dc:creator />
      <dc:date>2015-11-26T09:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: match</title>
      <link>https://community.qlik.com/t5/QlikView/match/m-p/989085#M337134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;from where came &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Calendar Date] used in match function ?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2015 09:27:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/match/m-p/989085#M337134</guid>
      <dc:creator>mohamed_ahid</dc:creator>
      <dc:date>2015-11-26T09:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: match</title>
      <link>https://community.qlik.com/t5/QlikView/match/m-p/989086#M337135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the error message you get? Here, in your share script couple of errors are there. Missing semi colons after variable declaration; unwanted comma after last field in load...are they typo?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2015 09:28:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/match/m-p/989086#M337135</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2015-11-26T09:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: match</title>
      <link>https://community.qlik.com/t5/QlikView/match/m-p/989087#M337136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;pls share ur error with app?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;"Calendar Date" is there in ur &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Calender_Dimension.qvd(qvd)?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2015 09:28:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/match/m-p/989087#M337136</guid>
      <dc:creator>buzzy996</dc:creator>
      <dc:date>2015-11-26T09:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: match</title>
      <link>https://community.qlik.com/t5/QlikView/match/m-p/989088#M337137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;from &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Calender_Dimension&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2015 09:28:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/match/m-p/989088#M337137</guid>
      <dc:creator />
      <dc:date>2015-11-26T09:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: match</title>
      <link>https://community.qlik.com/t5/QlikView/match/m-p/989089#M337138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2015 09:29:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/match/m-p/989089#M337138</guid>
      <dc:creator />
      <dc:date>2015-11-26T09:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: match</title>
      <link>https://community.qlik.com/t5/QlikView/match/m-p/989090#M337139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First thing i would check your variables are being populated correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add a Trace after you populate them.&lt;/P&gt;&lt;P&gt;Trace $(vCurrentYear):&lt;/P&gt;&lt;P&gt;Trace $(vPreviousYear);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2015 09:29:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/match/m-p/989090#M337139</guid>
      <dc:creator>Mark_Little</dc:creator>
      <dc:date>2015-11-26T09:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: match</title>
      <link>https://community.qlik.com/t5/QlikView/match/m-p/989091#M337140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, try with this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;let&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;vCurrentYear&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Today&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;());&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;let&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;vPreviousYear&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Today&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;())-1;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;LOAD&lt;/TD&gt;&lt;TD&gt;Distinct&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Year Count] as [Year],&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [From Month],&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [From Month No],&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;FROM Calender_Dimension.qvd(qvd)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;where&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Match&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Year Count]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'$(vCurrentYear)','$(vPreviousYear)'); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Elena&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2015 09:33:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/match/m-p/989091#M337140</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-26T09:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: match</title>
      <link>https://community.qlik.com/t5/QlikView/match/m-p/989092#M337141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can u share ur .qvw?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2015 09:33:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/match/m-p/989092#M337141</guid>
      <dc:creator>buzzy996</dc:creator>
      <dc:date>2015-11-26T09:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: match</title>
      <link>https://community.qlik.com/t5/QlikView/match/m-p/989093#M337142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Data:&lt;/P&gt;&lt;TABLE style="border: 0px; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;TBODY style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px; font-style: inherit; font-family: inherit;"&gt;LOAD&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px; font-style: inherit; font-family: inherit;"&gt;Distinct&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px; font-style: inherit; font-family: inherit;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px; font-style: inherit; font-family: inherit;"&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px; font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Year Count] as [Year],&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px; font-style: inherit; font-family: inherit;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px; font-style: inherit; font-family: inherit;"&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px; font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [From Month],&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px; font-style: inherit; font-family: inherit;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px; font-style: inherit; font-family: inherit;"&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px; font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [From Month No],&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px; font-style: inherit; font-family: inherit;"&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border: 0px; font-style: inherit; font-family: inherit;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM Calender_Dimension.qvd(qvd)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;where year([Calendar Date]) &amp;gt;= Year(Today() - 1);&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hope this helps you.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Regards,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2015 09:33:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/match/m-p/989093#M337142</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-11-26T09:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: match</title>
      <link>https://community.qlik.com/t5/QlikView/match/m-p/989094#M337143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you schould add &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Match(year([Calendar Date]),'$(vCurrentYear)','$(vPreviousYear)')=1 or 2 .depending on which year you want to filter data .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;check help (F1) for more explication nabout match function .&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2015 09:33:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/match/m-p/989094#M337143</guid>
      <dc:creator>mohamed_ahid</dc:creator>
      <dc:date>2015-11-26T09:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: match</title>
      <link>https://community.qlik.com/t5/QlikView/match/m-p/989095#M337144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;s they r typo graphical errors&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2015 09:52:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/match/m-p/989095#M337144</guid>
      <dc:creator />
      <dc:date>2015-11-26T09:52:39Z</dc:date>
    </item>
    <item>
      <title>Re: match</title>
      <link>https://community.qlik.com/t5/QlikView/match/m-p/989096#M337145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have years from 1980 to 2020 i cant use &amp;gt;= and &amp;lt;= i have to use match.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2015 09:53:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/match/m-p/989096#M337145</guid>
      <dc:creator />
      <dc:date>2015-11-26T09:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: match</title>
      <link>https://community.qlik.com/t5/QlikView/match/m-p/989097#M337146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;r u tried tis way,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Match(year([Calendar Date]),&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Year(Today() ),&lt;/SPAN&gt;Year(Today() - 1)) --some how work around.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the problem with ur match function syntax.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2015 10:00:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/match/m-p/989097#M337146</guid>
      <dc:creator>buzzy996</dc:creator>
      <dc:date>2015-11-26T10:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: match</title>
      <link>https://community.qlik.com/t5/QlikView/match/m-p/989098#M337147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you modify your script by this one?:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD Distinct Year Count] as [Year],&lt;/P&gt;&lt;P&gt;&amp;nbsp; [From Month],&lt;/P&gt;&lt;P&gt;&amp;nbsp; [From Month No]&lt;/P&gt;&lt;P&gt;from Calender_Dimension.qvd(qvd)&lt;/P&gt;&lt;P&gt;where year([Calendar Date]) &amp;gt;= $(vPreviousYear) and year([Calendar Date]) &amp;lt;= $(vCurrentYear)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**Notice that I removed the comma after the [From Month No] field, it could be the main error&lt;/P&gt;&lt;P&gt;**Also i removed the single quote of the variables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please, check it and modify what you need, but I think this is the way&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2015 10:04:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/match/m-p/989098#M337147</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-26T10:04:18Z</dc:date>
    </item>
    <item>
      <title>Re: match</title>
      <link>https://community.qlik.com/t5/QlikView/match/m-p/989099#M337148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prudvi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the below script,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14485330867088147 jive_text_macro" jivemacro_uid="_14485330867088147"&gt;
&lt;P&gt;vCurrentYear=Year(Today());&lt;/P&gt;
&lt;P&gt;vPreviousYear=Year(Today())-1;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;LOAD Distinct&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Year Count] as [Year],&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [From Month],&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [From Month No]&lt;/P&gt;
&lt;P&gt;FROM Calender_Dimension.qvd(qvd)&lt;/P&gt;
&lt;P&gt;where Match(year([Calendar Date]),'$(vCurrentYear)','$(vPreviousYear)');&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2015 10:19:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/match/m-p/989099#M337148</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2015-11-26T10:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: match</title>
      <link>https://community.qlik.com/t5/QlikView/match/m-p/989100#M337149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could use this variable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vFromDate=YearStart(Year(Today())-1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With this Where clause&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM Calender_Dimension.qvd(qvd)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;where [Calendar Date] &amp;gt;= $(&lt;SPAN style="font-size: 13.3333px;"&gt;vFromDate&lt;/SPAN&gt;);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2015 12:17:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/match/m-p/989100#M337149</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2015-11-26T12:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: match</title>
      <link>https://community.qlik.com/t5/QlikView/match/m-p/989101#M337150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, i tried in the same way for which i marked as correct answer ; the only wrong was that my file was a corrupted one.....&lt;/P&gt;&lt;P&gt;I made it new n its working fine.&lt;/P&gt;&lt;P&gt;once again thanks to this huge response:)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Nov 2015 09:15:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/match/m-p/989101#M337150</guid>
      <dc:creator />
      <dc:date>2015-11-27T09:15:12Z</dc:date>
    </item>
  </channel>
</rss>

