<?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: Selecting specific year in set expression in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Selecting-specific-year-in-set-expression/m-p/1925841#M76215</link>
    <description>&lt;P&gt;an easier way would be to add a YEAR column in your data model.&amp;nbsp; where you define or load the field&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;DepartEDDateTime, just add a new field defined by year(DepartEDDateTime) as your yearfield&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;this way in your expression or et analysis, you jut qualify your yearfield equal something&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 03 May 2022 18:34:07 GMT</pubDate>
    <dc:creator>edwin</dc:creator>
    <dc:date>2022-05-03T18:34:07Z</dc:date>
    <item>
      <title>Selecting specific year in set expression</title>
      <link>https://community.qlik.com/t5/App-Development/Selecting-specific-year-in-set-expression/m-p/1925833#M76214</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to filter this data to just the year 2022, but the field "DepartEDDateTime" is a timestamp and I can't seem to get it to work in the if statement. Appreciate any help!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(count(if((DepartEDDateTime - LastReadyToAdmitDateTime)*1440 &amp;lt;=60 and [PatientClassName]= 'Observation' and year([DepartEDDateTime] = '2022'),[EncounterID]))&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2022 18:06:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Selecting-specific-year-in-set-expression/m-p/1925833#M76214</guid>
      <dc:creator>andnichols</dc:creator>
      <dc:date>2022-05-03T18:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting specific year in set expression</title>
      <link>https://community.qlik.com/t5/App-Development/Selecting-specific-year-in-set-expression/m-p/1925841#M76215</link>
      <description>&lt;P&gt;an easier way would be to add a YEAR column in your data model.&amp;nbsp; where you define or load the field&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;DepartEDDateTime, just add a new field defined by year(DepartEDDateTime) as your yearfield&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;this way in your expression or et analysis, you jut qualify your yearfield equal something&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2022 18:34:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Selecting-specific-year-in-set-expression/m-p/1925841#M76215</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2022-05-03T18:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting specific year in set expression</title>
      <link>https://community.qlik.com/t5/App-Development/Selecting-specific-year-in-set-expression/m-p/1925843#M76216</link>
      <description>&lt;P&gt;That worked - thank you so much!&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2022 18:41:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Selecting-specific-year-in-set-expression/m-p/1925843#M76216</guid>
      <dc:creator>andnichols</dc:creator>
      <dc:date>2022-05-03T18:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting specific year in set expression</title>
      <link>https://community.qlik.com/t5/App-Development/Selecting-specific-year-in-set-expression/m-p/1927452#M76367</link>
      <description>&lt;P&gt;yw&lt;/P&gt;</description>
      <pubDate>Fri, 06 May 2022 17:51:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Selecting-specific-year-in-set-expression/m-p/1927452#M76367</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2022-05-06T17:51:32Z</dc:date>
    </item>
  </channel>
</rss>

