<?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: How to verify if a timesheet date = holiday date? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-verify-if-a-timesheet-date-holiday-date/m-p/1911148#M75088</link>
    <description>&lt;P&gt;In script:&lt;/P&gt;
&lt;P&gt;Load * From YourTable;&lt;/P&gt;
&lt;P&gt;Left join&lt;/P&gt;
&lt;P&gt;Load holidays as [timesheet days], 'Yes' as isHoliday&lt;/P&gt;
&lt;P&gt;From YourHolidays;&lt;/P&gt;
&lt;P&gt;You could also set this up as a mapping load if you prefer (that would also let you specify 'no' rather than null for non-holidays more easily).&lt;/P&gt;
&lt;P&gt;Match will not work for you here because, without the context of both of those fields being a dimension within your table, you would not get a single result for each field.&lt;/P&gt;</description>
    <pubDate>Tue, 29 Mar 2022 11:11:08 GMT</pubDate>
    <dc:creator>Or</dc:creator>
    <dc:date>2022-03-29T11:11:08Z</dc:date>
    <item>
      <title>How to verify if a timesheet date = holiday date?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-verify-if-a-timesheet-date-holiday-date/m-p/1911138#M75086</link>
      <description>&lt;P&gt;Hi everybody,&lt;/P&gt;
&lt;P&gt;I'm trying to set automation to calculate overtime compensation.&lt;/P&gt;
&lt;P&gt;I have a holidays calendar dimension [holidays] and a [timesheet date]. On my side it would be enough to create a flag whereas [timesheet date] has a value listed among the [holidays] dimension's list.&lt;/P&gt;
&lt;P&gt;I tried:&lt;BR /&gt;if( match( [timesheet days], [holidays] ), 'Yes', 'No')&lt;/P&gt;
&lt;P&gt;but it doesn't work. In similar community's cases I noticed that [holidays] should be expressed as a variable but I don't know how to create that from a dimension (honestly I don't want to type manually the whole holidays calendar).&lt;/P&gt;
&lt;P&gt;Thank you in advance for your help.&lt;/P&gt;
&lt;P&gt;Andrea&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2022 10:53:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-verify-if-a-timesheet-date-holiday-date/m-p/1911138#M75086</guid>
      <dc:creator>orlando162</dc:creator>
      <dc:date>2022-03-29T10:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to verify if a timesheet date = holiday date?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-verify-if-a-timesheet-date-holiday-date/m-p/1911148#M75088</link>
      <description>&lt;P&gt;In script:&lt;/P&gt;
&lt;P&gt;Load * From YourTable;&lt;/P&gt;
&lt;P&gt;Left join&lt;/P&gt;
&lt;P&gt;Load holidays as [timesheet days], 'Yes' as isHoliday&lt;/P&gt;
&lt;P&gt;From YourHolidays;&lt;/P&gt;
&lt;P&gt;You could also set this up as a mapping load if you prefer (that would also let you specify 'no' rather than null for non-holidays more easily).&lt;/P&gt;
&lt;P&gt;Match will not work for you here because, without the context of both of those fields being a dimension within your table, you would not get a single result for each field.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2022 11:11:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-verify-if-a-timesheet-date-holiday-date/m-p/1911148#M75088</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2022-03-29T11:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to verify if a timesheet date = holiday date?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-verify-if-a-timesheet-date-holiday-date/m-p/1911193#M75091</link>
      <description>&lt;P&gt;Thank you so much, it worked perfectly.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2022 12:27:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-verify-if-a-timesheet-date-holiday-date/m-p/1911193#M75091</guid>
      <dc:creator>orlando162</dc:creator>
      <dc:date>2022-03-29T12:27:56Z</dc:date>
    </item>
  </channel>
</rss>

