<?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 Fiscal Year issue in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Fiscal-Year-issue/m-p/1614734#M45787</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have an KPI showing sum of Current Fiscal Year Sales .&lt;/P&gt;&lt;P&gt;Fiscal year column have data for FY 2021, FY2020 , FY2019 etc&lt;/P&gt;&lt;P&gt;For KPI I want Sum(Sales) for FY 2019.&lt;/P&gt;&lt;P&gt;I have created a variable&amp;nbsp;&lt;/P&gt;&lt;P&gt;LET vCnFY = PEEK('Fiscal Year', 0 ,'Calendar');&lt;/P&gt;&lt;P&gt;and&amp;nbsp;&lt;SPAN&gt;vCnFY &lt;/SPAN&gt;gives me 2019 and KPI shows correct data .&lt;/P&gt;&lt;P&gt;But if I select FY2018 KPI still shows for FY2019. So KPI is not changing with filter selection&lt;/P&gt;&lt;P&gt;KPI expression looks like this :&amp;nbsp;Sum({$&amp;lt;[Fiscal Year ]={'$(&lt;SPAN&gt;vCnFY &lt;/SPAN&gt;)'}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;I cannot use Max function because it will show me FY2021 data in KPI.&lt;/P&gt;</description>
    <pubDate>Wed, 21 Aug 2019 10:55:54 GMT</pubDate>
    <dc:creator>New-Qlik</dc:creator>
    <dc:date>2019-08-21T10:55:54Z</dc:date>
    <item>
      <title>Fiscal Year issue</title>
      <link>https://community.qlik.com/t5/App-Development/Fiscal-Year-issue/m-p/1614734#M45787</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have an KPI showing sum of Current Fiscal Year Sales .&lt;/P&gt;&lt;P&gt;Fiscal year column have data for FY 2021, FY2020 , FY2019 etc&lt;/P&gt;&lt;P&gt;For KPI I want Sum(Sales) for FY 2019.&lt;/P&gt;&lt;P&gt;I have created a variable&amp;nbsp;&lt;/P&gt;&lt;P&gt;LET vCnFY = PEEK('Fiscal Year', 0 ,'Calendar');&lt;/P&gt;&lt;P&gt;and&amp;nbsp;&lt;SPAN&gt;vCnFY &lt;/SPAN&gt;gives me 2019 and KPI shows correct data .&lt;/P&gt;&lt;P&gt;But if I select FY2018 KPI still shows for FY2019. So KPI is not changing with filter selection&lt;/P&gt;&lt;P&gt;KPI expression looks like this :&amp;nbsp;Sum({$&amp;lt;[Fiscal Year ]={'$(&lt;SPAN&gt;vCnFY &lt;/SPAN&gt;)'}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;I cannot use Max function because it will show me FY2021 data in KPI.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2019 10:55:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Fiscal-Year-issue/m-p/1614734#M45787</guid>
      <dc:creator>New-Qlik</dc:creator>
      <dc:date>2019-08-21T10:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: Fiscal Year issue</title>
      <link>https://community.qlik.com/t5/App-Development/Fiscal-Year-issue/m-p/1614744#M45789</link>
      <description>&lt;P&gt;&amp;gt;&amp;gt;&lt;SPAN&gt;I cannot use Max function because it will show me FY2021 data in KPI.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Not true. If you select FY2018, then the max, if defined correctly, will be 2018.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2019 11:17:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Fiscal-Year-issue/m-p/1614744#M45789</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2019-08-21T11:17:48Z</dc:date>
    </item>
    <item>
      <title>Re: Fiscal Year issue</title>
      <link>https://community.qlik.com/t5/App-Development/Fiscal-Year-issue/m-p/1614752#M45791</link>
      <description>You can create a variable, vMaxYear - If(GetSelectedCount([Fiscal year])=1,Max([Fiscal year]),$(vCnFY)) Then use this variable in the expression, Sum({$&amp;lt;[Fiscal Year ]={'$(vMaxYear)'}&amp;gt;}Sales)</description>
      <pubDate>Wed, 21 Aug 2019 11:24:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Fiscal-Year-issue/m-p/1614752#M45791</guid>
      <dc:creator>Silambarasan1306</dc:creator>
      <dc:date>2019-08-21T11:24:54Z</dc:date>
    </item>
  </channel>
</rss>

