<?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 Year to Date Expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Year-to-Date-Expression/m-p/1788351#M1210282</link>
    <description>&lt;P&gt;Hello All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to create an expression that only shows the current year to date data in a Pie Chart for an element that has a status of&amp;nbsp; 'On-Time'.&amp;nbsp; Below is the used expression which presents me with a 'No data to display' error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;=Count({1&amp;lt;[Actual Revision Completion Status]={'On-Time'}, [Next Scheduled Effective Date] = {'$(=Year(Today()))'}&amp;gt;}[Actual Revision Completion Status])&lt;/P&gt;&lt;P&gt;I do have a Year field in my script and the Next Scheduled Effective date is in a date format.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be appreciated!&lt;/P&gt;&lt;P&gt;Thank you,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dylan&lt;/P&gt;</description>
    <pubDate>Thu, 04 Mar 2021 14:40:01 GMT</pubDate>
    <dc:creator>Dmichel0729</dc:creator>
    <dc:date>2021-03-04T14:40:01Z</dc:date>
    <item>
      <title>Year to Date Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Year-to-Date-Expression/m-p/1788351#M1210282</link>
      <description>&lt;P&gt;Hello All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to create an expression that only shows the current year to date data in a Pie Chart for an element that has a status of&amp;nbsp; 'On-Time'.&amp;nbsp; Below is the used expression which presents me with a 'No data to display' error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;=Count({1&amp;lt;[Actual Revision Completion Status]={'On-Time'}, [Next Scheduled Effective Date] = {'$(=Year(Today()))'}&amp;gt;}[Actual Revision Completion Status])&lt;/P&gt;&lt;P&gt;I do have a Year field in my script and the Next Scheduled Effective date is in a date format.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be appreciated!&lt;/P&gt;&lt;P&gt;Thank you,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dylan&lt;/P&gt;</description>
      <pubDate>Thu, 04 Mar 2021 14:40:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-to-Date-Expression/m-p/1788351#M1210282</guid>
      <dc:creator>Dmichel0729</dc:creator>
      <dc:date>2021-03-04T14:40:01Z</dc:date>
    </item>
    <item>
      <title>Re: Year to Date Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Year-to-Date-Expression/m-p/1788517#M1210299</link>
      <description>&lt;P&gt;Hi, I think the best option here is to create a [Next Scheduled Effective Year] in script using Year(&lt;SPAN&gt;[Next Scheduled Effective Date]), so you can use this field in set analysis.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Another option may be using something like:&amp;nbsp;[Next Scheduled Effective Date] = {"*/$(=Year(Today()))"}, it assumes than date is in DD/MM/YYYY or MM/DD/YYYY format.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Mar 2021 20:01:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-to-Date-Expression/m-p/1788517#M1210299</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2021-03-04T20:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: Year to Date Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Year-to-Date-Expression/m-p/1788524#M1210301</link>
      <description>&lt;P&gt;Have you tried doing the Year of the date equal to this year&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Do you have a master calendar? I would just use the year from that because right now you are comparing a date to a year.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Let me know if I am reading your question wrong.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Mar 2021 20:21:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-to-Date-Expression/m-p/1788524#M1210301</guid>
      <dc:creator>datagrrl</dc:creator>
      <dc:date>2021-03-04T20:21:46Z</dc:date>
    </item>
  </channel>
</rss>

