<?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: QlikSense Script: Replace a value in Status field based on Datefield in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/QlikSense-Script-Replace-a-value-in-Status-field-based-on/m-p/38000#M768770</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure that the fields you are mapping have the same field type &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; e.g Date mapping to a Date column or else make them both text and try then &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Jun 2018 09:43:33 GMT</pubDate>
    <dc:creator>bwisealiahmad</dc:creator>
    <dc:date>2018-06-21T09:43:33Z</dc:date>
    <item>
      <title>QlikSense Script: Replace a value in Status field based on Datefield</title>
      <link>https://community.qlik.com/t5/QlikView/QlikSense-Script-Replace-a-value-in-Status-field-based-on/m-p/37999#M768769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to flag certain days to for all Employees to Status = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Qvd now looks like this(without Employee information) with only Status and WDIDate.&lt;/P&gt;&lt;P&gt;What&amp;nbsp; I want is to add _MappedStatus with current Status-values, but with status-value set to 1 on certain dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On WDIDate like '20180521', I want _MappedStatus = 1 (as shown in .xlsx extract in the bottom of the post)&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="205412" alt="StatusTable.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/205412_StatusTable.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;To map certain values based on Datefield I have created a map table as xlsx.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="205413" alt="MappedDates.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/205413_MappedDates.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;I've tried some sort of ApplyMaps, but that just gives me the orignial values as shown in the first picture.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions is well appreciated.&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;/Henrik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikSense-Script-Replace-a-value-in-Status-field-based-on/m-p/37999#M768769</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: QlikSense Script: Replace a value in Status field based on Datefield</title>
      <link>https://community.qlik.com/t5/QlikView/QlikSense-Script-Replace-a-value-in-Status-field-based-on/m-p/38000#M768770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure that the fields you are mapping have the same field type &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; e.g Date mapping to a Date column or else make them both text and try then &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2018 09:43:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikSense-Script-Replace-a-value-in-Status-field-based-on/m-p/38000#M768770</guid>
      <dc:creator>bwisealiahmad</dc:creator>
      <dc:date>2018-06-21T09:43:33Z</dc:date>
    </item>
  </channel>
</rss>

