<?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: Fiscal Year in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Fiscal-Year/m-p/1792813#M1210849</link>
    <description>&lt;P&gt;Good morning,&lt;/P&gt;&lt;P&gt;I think you should add one more filter in your set analysis that defines the year, and also to do this kind of calculation you need to add new column in your script which is : YearWeek&lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp;&lt;/P&gt;&lt;P&gt;Year&amp;amp;Week as YearWeek&lt;/P&gt;&lt;P&gt;FROM x&lt;/P&gt;&lt;P&gt;And the filter in your UI has to be the YearWeek to define which year .&lt;/P&gt;&lt;P&gt;In your set analysis :&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Year={"$(=max({&amp;lt;WeekYear={'$(max(YearWeek))'}&amp;gt;}Year))"}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;This set analysis will select the year of the the wanted week&lt;/P&gt;</description>
    <pubDate>Fri, 19 Mar 2021 09:41:55 GMT</pubDate>
    <dc:creator>yassinemhadhbi</dc:creator>
    <dc:date>2021-03-19T09:41:55Z</dc:date>
    <item>
      <title>Fiscal Year</title>
      <link>https://community.qlik.com/t5/QlikView/Fiscal-Year/m-p/1792777#M1210847</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have data from Week 48 of 2019 to week 9 of 2020. I need to display YTD sales by selecting Weeks filter.&lt;/P&gt;&lt;P&gt;My Week Number filter shows from week 1 to 9 and&amp;nbsp; 48 to 52 (1,2,3,4,5,6,7,8,9,48,49,50,51,52) like above. when I tries to calculate YTD it calculates from Week 1 not from Week 48.&lt;/P&gt;&lt;P&gt;I need it to show like - (&lt;SPAN&gt;48,49,50,51,52,1,2,3,4,5,6,7,8,9) and YTD from Week 48.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can somebody help me on this.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2021 08:24:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fiscal-Year/m-p/1792777#M1210847</guid>
      <dc:creator>Saro_2306</dc:creator>
      <dc:date>2021-03-19T08:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: Fiscal Year</title>
      <link>https://community.qlik.com/t5/QlikView/Fiscal-Year/m-p/1792813#M1210849</link>
      <description>&lt;P&gt;Good morning,&lt;/P&gt;&lt;P&gt;I think you should add one more filter in your set analysis that defines the year, and also to do this kind of calculation you need to add new column in your script which is : YearWeek&lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp;&lt;/P&gt;&lt;P&gt;Year&amp;amp;Week as YearWeek&lt;/P&gt;&lt;P&gt;FROM x&lt;/P&gt;&lt;P&gt;And the filter in your UI has to be the YearWeek to define which year .&lt;/P&gt;&lt;P&gt;In your set analysis :&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Year={"$(=max({&amp;lt;WeekYear={'$(max(YearWeek))'}&amp;gt;}Year))"}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;This set analysis will select the year of the the wanted week&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2021 09:41:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fiscal-Year/m-p/1792813#M1210849</guid>
      <dc:creator>yassinemhadhbi</dc:creator>
      <dc:date>2021-03-19T09:41:55Z</dc:date>
    </item>
    <item>
      <title>Re: Fiscal Year</title>
      <link>https://community.qlik.com/t5/QlikView/Fiscal-Year/m-p/1804075#M1211951</link>
      <description>&lt;P&gt;Thanks a lot it working fine. but When it comes to week 53 it taking 202153 and 202053 (i.e same week considering twice).&lt;/P&gt;</description>
      <pubDate>Fri, 30 Apr 2021 07:03:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fiscal-Year/m-p/1804075#M1211951</guid>
      <dc:creator>Saro_2306</dc:creator>
      <dc:date>2021-04-30T07:03:22Z</dc:date>
    </item>
  </channel>
</rss>

