<?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: variables / master Calander in Qlik Answers</title>
    <link>https://community.qlik.com/t5/Qlik-Answers/variables-master-Calander/m-p/2515408#M280</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;First of all, 'year' function has only one parameter. You cannot specify the format. This means your 'year' function is not working. Check here for more info :&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/DateAndTimeFunctions/year.htm" target="_blank"&gt;https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/DateAndTimeFunctions/year.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You can try something like :&lt;/P&gt;&lt;P&gt;count(distinct{&amp;lt;MDR_Status={'Open MDR'}, [M.Flag]={'Material'}, SUBMISSION_year={"&amp;lt;=$(=vMAX_CAL_YEAR)"}&amp;gt;} MDR_NUMBER)&lt;/P&gt;&lt;P&gt;But, just to be sure, if you select 2025, you want to see all data &amp;lt;= 2025. and if you select 2024 you want to see all data &amp;lt;=2024 (not only 2024). Correct ?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;SRA&lt;/P&gt;</description>
    <pubDate>Wed, 23 Apr 2025 08:17:11 GMT</pubDate>
    <dc:creator>SRA</dc:creator>
    <dc:date>2025-04-23T08:17:11Z</dc:date>
    <item>
      <title>variables / master Calander</title>
      <link>https://community.qlik.com/t5/Qlik-Answers/variables-master-Calander/m-p/2515229#M263</link>
      <description>&lt;P&gt;hello&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have kpi calculates open depends on some conditions , i used submission year as reference of open mdr on which year that mdr open on , so i want when i filter a specific year it show me open mdr depend on the submission year, bellow my expression that i used:&lt;/P&gt;&lt;P&gt;count(distinct{&amp;lt;MDR_Status = {'Open MDR'},[M.Flag] = {'Material'},SUBMISSION_year = {"&amp;lt;=$(=year(vMAX_CAL_YEAR,'YYYY'))"}&amp;gt;}MDR_NUMBER),&amp;nbsp;&lt;/P&gt;&lt;P&gt;i created variables:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;vMAX_CAL_YEAR&amp;nbsp; is&amp;nbsp; =Max(vmdr_year)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my concern when i filter 2025 it show me data , but when i select 2024 there are no data are showing&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Apr 2025 16:18:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Answers/variables-master-Calander/m-p/2515229#M263</guid>
      <dc:creator>ddd111rgg23</dc:creator>
      <dc:date>2025-04-22T16:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: variables / master Calander</title>
      <link>https://community.qlik.com/t5/Qlik-Answers/variables-master-Calander/m-p/2515408#M280</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;First of all, 'year' function has only one parameter. You cannot specify the format. This means your 'year' function is not working. Check here for more info :&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/DateAndTimeFunctions/year.htm" target="_blank"&gt;https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/DateAndTimeFunctions/year.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You can try something like :&lt;/P&gt;&lt;P&gt;count(distinct{&amp;lt;MDR_Status={'Open MDR'}, [M.Flag]={'Material'}, SUBMISSION_year={"&amp;lt;=$(=vMAX_CAL_YEAR)"}&amp;gt;} MDR_NUMBER)&lt;/P&gt;&lt;P&gt;But, just to be sure, if you select 2025, you want to see all data &amp;lt;= 2025. and if you select 2024 you want to see all data &amp;lt;=2024 (not only 2024). Correct ?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;SRA&lt;/P&gt;</description>
      <pubDate>Wed, 23 Apr 2025 08:17:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Answers/variables-master-Calander/m-p/2515408#M280</guid>
      <dc:creator>SRA</dc:creator>
      <dc:date>2025-04-23T08:17:11Z</dc:date>
    </item>
  </channel>
</rss>

