<?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 can I replace empty or wrong field values with correct ones? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-can-I-replace-empty-or-wrong-field-values-with-correct-ones/m-p/1244037#M863051</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't see any reason why the code should not work... Would you be able to share some sample data to test it out?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Dec 2016 12:35:09 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-12-28T12:35:09Z</dc:date>
    <item>
      <title>How can I replace empty or wrong field values with correct ones?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-replace-empty-or-wrong-field-values-with-correct-ones/m-p/1244036#M863050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am uploading the following file:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PolicySummary:&lt;/P&gt;&lt;P&gt;LOAD PolicyNumber,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ProgramNbr,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PolicyCcy,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ApplyMap('ExchangeRates',PolicyCcy) as Policy_FX, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PolicyPremiumOrig&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[\\Property DB\Full\PolicySummary.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, certain 'PolicyNumber' do not have a&amp;nbsp; 'ProgramNbr'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was looking for suggestions in the Community, but I could not find any solution (or as a non-native English speaker, I was not able to).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MissingQuotes:&lt;/P&gt;&lt;P&gt;Mapping LOAD PolicyNumber,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ProgramNbr&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[\\MissingQuotes_2016-12-27.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;PolicySummary:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;LOAD PolicyNumber,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(IsNull(ProgramNbr), ApplyMap('MissingQuotes',PolicyNumber),ProgramNbr),&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PolicyCcy,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ApplyMap('ExchangeRates',PolicyCcy) as Policy_FX, &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PolicyPremiumOrig&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;FROM&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;[\\Property DB\Full\PolicySummary.xlsx]&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;But it did not work.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Could somebody point me in the correct direction?&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Many thanks.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Schumi1980&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/How-can-I-replace-empty-or-wrong-field-values-with-correct-ones/m-p/1244036#M863050</guid>
      <dc:creator>schumi1980</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How can I replace empty or wrong field values with correct ones?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-replace-empty-or-wrong-field-values-with-correct-ones/m-p/1244037#M863051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't see any reason why the code should not work... Would you be able to share some sample data to test it out?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2016 12:35:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-replace-empty-or-wrong-field-values-with-correct-ones/m-p/1244037#M863051</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-28T12:35:09Z</dc:date>
    </item>
    <item>
      <title>Re: How can I replace empty or wrong field values with correct ones?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-replace-empty-or-wrong-field-values-with-correct-ones/m-p/1244038#M863054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Jan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly check given below script,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MissingQuotes:&lt;/P&gt;&lt;P&gt;Mapping&lt;/P&gt;&lt;P&gt;LOAD Distinct PolicyNumber,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ProgramNbr&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[\\MissingQuotes_2016-12-27.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1)&lt;SPAN style="font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PolicySummary:&lt;/P&gt;&lt;P&gt;LOAD PolicyNumber,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(Len(Trim(ProgramNbr)) = 0, ApplyMap('MissingQuotes',PolicyNumber, 'Not Available'), ProgramNbr) as ProgramNbr,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PolicyCcy,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ApplyMap('ExchangeRates',PolicyCcy, '#NA') as Policy_FX,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PolicyPremiumOrig&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[\\Property DB\Full\PolicySummary.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Ishfaque Ahmed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2016 15:15:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-replace-empty-or-wrong-field-values-with-correct-ones/m-p/1244038#M863054</guid>
      <dc:creator>engishfaque</dc:creator>
      <dc:date>2016-12-28T15:15:17Z</dc:date>
    </item>
  </channel>
</rss>

