<?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: Set a dummy value to fields if not present in the source in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-a-dummy-value-to-fields-if-not-present-in-the-source/m-p/1166103#M893370</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anand,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We're glad to see you were able to solve your issue. Please take a moment to &lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-14806"&gt;Mark Replies as Correct or Helpful&lt;/A&gt; to give points to those who helped and to mark the thread as Answered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Qlik Community Team&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Aug 2016 15:14:41 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-08-12T15:14:41Z</dc:date>
    <item>
      <title>Set a dummy value to fields if not present in the source</title>
      <link>https://community.qlik.com/t5/QlikView/Set-a-dummy-value-to-fields-if-not-present-in-the-source/m-p/1166095#M893362</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;Hope this find the right person who can help me out&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Source data: Text files which are generated automatically and can vary from 10-15 in number&amp;nbsp; and will be dropped in to folder&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Qlik View Application: We have created an application based on a standard source which contains set of 11 fields and relevant expressions based on this 11 fields in the front end , so the application is freezed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Issue : some times the source may not contain all the 11 fields and the data can have 8-9 fields,In that case I don't want to change the code in the Qlik View application and set the non available field values as 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex: standard source data&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Code&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;emp&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;sale&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;qty&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;sale type&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;model&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Region&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;country&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;state&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;reporting&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Month&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2345&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Anand&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;laptop&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;5&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Online&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;L-4567yh&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Asia&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;India&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Andhra pradesh&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Sindhu&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;January&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;5867&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Arun&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;desktop&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;8&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Vendor&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;D-2456t&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;P&gt;Asia&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;India&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Karnataka&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Sindhu&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;January&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;8954&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Ajay&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;laptop&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Institution&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;L-4567y&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Asia&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;India&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Uttar pradesh&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Sindhu&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;January&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;4698&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;santosh&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Mobile&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;6&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Retail Outlet&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;insol-2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Asia&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;India&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Kerela&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Sindhu&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;January&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;6457&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Surya&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Tablet&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Online&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;345ikte&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Asia&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;India&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Orissa&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Sindhu&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;January&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Faulty Source data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Code&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;emp&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;sale&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;qty&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;sale type&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;model&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Region&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Month&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2345&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Anand&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;laptop&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;5&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Online&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;L-4567yh&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Asia&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;January&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;5867&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Arun&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;desktop&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;8&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Vendor&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;D-2456t&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;P&gt;Asia&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;January&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;8954&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Ajay&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;laptop&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Institution&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;L-4567y&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Asia&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;January&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;4698&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;santosh&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Mobile&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;6&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Retail Outlet&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;insol-2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Asia&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;January&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;6457&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Surya&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Tablet&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Online&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;345ikte&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Asia&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;January&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in the faulty source data , fields Region, country, state , reporting are not available&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if i Load the Qlik view application it will throw an error as field not found so inspite of that error I want to load the application as is with a dummy value like 0 in to that field .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks ahead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anand.&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/Set-a-dummy-value-to-fields-if-not-present-in-the-source/m-p/1166095#M893362</guid>
      <dc:creator>imhappiee</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Set a dummy value to fields if not present in the source</title>
      <link>https://community.qlik.com/t5/QlikView/Set-a-dummy-value-to-fields-if-not-present-in-the-source/m-p/1166096#M893363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am guessing the data is coming from different files. I would suggest looking into concatenation of the data using for loops instead of doing a wild card load here.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3274"&gt;Loops in the Script&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2016 14:33:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-a-dummy-value-to-fields-if-not-present-in-the-source/m-p/1166096#M893363</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-10T14:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: Set a dummy value to fields if not present in the source</title>
      <link>https://community.qlik.com/t5/QlikView/Set-a-dummy-value-to-fields-if-not-present-in-the-source/m-p/1166097#M893364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anand,&lt;/P&gt;&lt;P&gt;in your script load the faulty source data like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FaultySource:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Code,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; emp,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sale, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; qty,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sale type,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; model,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Region,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '-' as country,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '-' as state,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '-' as reporting&lt;/P&gt;&lt;P&gt;From yourFaultySource;&lt;/P&gt;&lt;P&gt;Then it will automatically concatenate to your standard source.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Burkhard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2016 15:04:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-a-dummy-value-to-fields-if-not-present-in-the-source/m-p/1166097#M893364</guid>
      <dc:creator>veidlburkhard</dc:creator>
      <dc:date>2016-08-10T15:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: Set a dummy value to fields if not present in the source</title>
      <link>https://community.qlik.com/t5/QlikView/Set-a-dummy-value-to-fields-if-not-present-in-the-source/m-p/1166098#M893365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Burkhard,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That works when I know that in one file if that 3 fields are missing and then can load them as dummy from faulty source&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in my case&amp;nbsp; say 4 source files are there&lt;/P&gt;&lt;P&gt;source1 may not have country&lt;/P&gt;&lt;P&gt;source2 may not have Region&lt;/P&gt;&lt;P&gt;source3 may not have reporting&lt;/P&gt;&lt;P&gt;source4 may have all fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any my script in the QV application is ready as to load all the fileds from 4 files&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Load&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Code,&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; emp,&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sale,&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; qty,&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sale type,&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; model,&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Region,&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month,&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; country,&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; state,&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; reporting&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;From yourFaultySource;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;please let me know if i couldn't make you understand the issue. wil try to post more precise example with original data.&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2016 19:46:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-a-dummy-value-to-fields-if-not-present-in-the-source/m-p/1166098#M893365</guid>
      <dc:creator>imhappiee</dc:creator>
      <dc:date>2016-08-10T19:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: Set a dummy value to fields if not present in the source</title>
      <link>https://community.qlik.com/t5/QlikView/Set-a-dummy-value-to-fields-if-not-present-in-the-source/m-p/1166099#M893366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would suggest to create a dummy table.&lt;/P&gt;&lt;P&gt;Then load in a loop all files from your source folder.&lt;/P&gt;&lt;P&gt;Use * to load all fields, independend from the number of fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;load * inline [&lt;/P&gt;&lt;P&gt;Code&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;for each file in filelist ('yourfolder\*.csv')&lt;/P&gt;&lt;P&gt;concatenate (Data)&lt;/P&gt;&lt;P&gt;load *&lt;/P&gt;&lt;P&gt;from '$(filelist)' (settings from the sourcedata type)&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2016 20:00:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-a-dummy-value-to-fields-if-not-present-in-the-source/m-p/1166099#M893366</guid>
      <dc:creator>martinpohl</dc:creator>
      <dc:date>2016-08-10T20:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: Set a dummy value to fields if not present in the source</title>
      <link>https://community.qlik.com/t5/QlikView/Set-a-dummy-value-to-fields-if-not-present-in-the-source/m-p/1166100#M893367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anand,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Raw Data]:&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;A class="jive-link-thread-small" data-containerid="2003" data-containertype="14" data-objectid="228627" data-objecttype="1" href="https://community.qlik.com/thread/228627"&gt;https://community.qlik.com/thread/228627&lt;/A&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;(html, codepage is 1252, embedded labels, table is @1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate([Raw Data])&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;A class="jive-link-thread-small" data-containerid="2003" data-containertype="14" data-objectid="228627" data-objecttype="1" href="https://community.qlik.com/thread/228627"&gt;https://community.qlik.com/thread/228627&lt;/A&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;(html, codepage is 1252, embedded labels, table is @2);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;if(isnull(Code),'Code Missing',Code) as Code,&lt;/P&gt;&lt;P&gt;if(isnull(emp),'Emp Missing',emp) as emp,&lt;/P&gt;&lt;P&gt;if(isnull(sale),0,sale) as sale,&lt;/P&gt;&lt;P&gt;if(isnull(qty),0,qty) as qty,&lt;/P&gt;&lt;P&gt;if(isnull([sale type]),'Sale Type Missing',[sale type]) as [sale type],&lt;/P&gt;&lt;P&gt;if(isnull(model),'Model Missing',model) as model,&lt;/P&gt;&lt;P&gt;if(isnull(Region),'Region Missing',Region) as Region,&lt;/P&gt;&lt;P&gt;if(isnull(country),'Country Missing',country) as country,&lt;/P&gt;&lt;P&gt;if(isnull(state),'State Missing',state) as state,&lt;/P&gt;&lt;P&gt;if(isnull(reporting),'Reporting Missing',reporting) as reporting,&lt;/P&gt;&lt;P&gt;if(isnull(Month),'Month Missing',Month) as Month&lt;/P&gt;&lt;P&gt;Resident [Raw Data];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Table [Raw Data];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;good luck&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2016 20:41:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-a-dummy-value-to-fields-if-not-present-in-the-source/m-p/1166100#M893367</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2016-08-10T20:41:25Z</dc:date>
    </item>
    <item>
      <title>Re: Set a dummy value to fields if not present in the source</title>
      <link>https://community.qlik.com/t5/QlikView/Set-a-dummy-value-to-fields-if-not-present-in-the-source/m-p/1166101#M893368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OldData:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;Region,Sales ,Month,Year&lt;BR /&gt;A,10 , Jan,2016&lt;BR /&gt;B,20 , Feb,2016&lt;BR /&gt;C,30, Mar,2016&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;NewData:&lt;BR /&gt;LOAD *&amp;nbsp; INLINE [&lt;BR /&gt;Region,Sales&lt;BR /&gt;A,10 &lt;BR /&gt;B,20 &lt;BR /&gt;C,30&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for i = 0 to 4&lt;BR /&gt;Colfind:&lt;BR /&gt;load &lt;BR /&gt;if( OldCol&amp;lt;&amp;gt;comingCol ,OldCol)&amp;nbsp;&amp;nbsp; as OldCol&lt;BR /&gt;;&lt;BR /&gt;load &lt;/P&gt;&lt;P&gt;FieldName('$(i)','OldData') as OldCol ,&lt;BR /&gt;FieldName('$(i)','NewData') as comingCol&lt;BR /&gt;AutoGenerate(1) ;&lt;/P&gt;&lt;P&gt;NEXT&lt;/P&gt;&lt;P&gt;Colfindop:&lt;BR /&gt;load Concat(DISTINCT '0 ' &amp;amp; ' as ' &amp;amp;OldCol,',') as vars&lt;BR /&gt;resident Colfind&amp;nbsp; &lt;BR /&gt;Where len(OldCol)&amp;gt;1;&lt;/P&gt;&lt;P&gt;let VAdd = Peek('vars',0,'Colfindop');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;NewData1:&lt;BR /&gt;load * ,$(VAdd)&lt;/P&gt;&lt;P&gt;Resident&amp;nbsp; NewData ;&lt;/P&gt;&lt;P&gt;DROP Table NewData;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2016 12:09:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-a-dummy-value-to-fields-if-not-present-in-the-source/m-p/1166101#M893368</guid>
      <dc:creator>qliksus</dc:creator>
      <dc:date>2016-08-12T12:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: Set a dummy value to fields if not present in the source</title>
      <link>https://community.qlik.com/t5/QlikView/Set-a-dummy-value-to-fields-if-not-present-in-the-source/m-p/1166102#M893369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That was brilliant and it worked, thanks for the quick help &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anand.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2016 14:38:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-a-dummy-value-to-fields-if-not-present-in-the-source/m-p/1166102#M893369</guid>
      <dc:creator>imhappiee</dc:creator>
      <dc:date>2016-08-12T14:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: Set a dummy value to fields if not present in the source</title>
      <link>https://community.qlik.com/t5/QlikView/Set-a-dummy-value-to-fields-if-not-present-in-the-source/m-p/1166103#M893370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anand,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We're glad to see you were able to solve your issue. Please take a moment to &lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-14806"&gt;Mark Replies as Correct or Helpful&lt;/A&gt; to give points to those who helped and to mark the thread as Answered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Qlik Community Team&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2016 15:14:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-a-dummy-value-to-fields-if-not-present-in-the-source/m-p/1166103#M893370</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-12T15:14:41Z</dc:date>
    </item>
    <item>
      <title>Re: Set a dummy value to fields if not present in the source</title>
      <link>https://community.qlik.com/t5/QlikView/Set-a-dummy-value-to-fields-if-not-present-in-the-source/m-p/1166104#M893371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeremy Latimer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I couldn't find the "Correct Answer" option anywhere on this page as per your link, could you please help me get that option enabled . So that I will be happy to mark it as correct Answer. Marking them Helpful for the time being.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Aug 2016 08:19:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-a-dummy-value-to-fields-if-not-present-in-the-source/m-p/1166104#M893371</guid>
      <dc:creator>imhappiee</dc:creator>
      <dc:date>2016-08-16T08:19:18Z</dc:date>
    </item>
    <item>
      <title>Re: Set a dummy value to fields if not present in the source</title>
      <link>https://community.qlik.com/t5/QlikView/Set-a-dummy-value-to-fields-if-not-present-in-the-source/m-p/1166105#M893372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anand,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;It sounds like you are viewing the thread in your Activity &amp;amp; Inbox section of your profile, because there are not as many options there. You will need to click on the thread title link to view the actual thread in the community in order to see the Correct Answer button.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Here is a direct link to this thread: &lt;A href="https://community.qlik.com/thread/228627"&gt;Set a dummy value to fields if not present in the source&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Please let me know if you are still having trouble.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Best,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Qlik Community Team&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Aug 2016 15:20:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-a-dummy-value-to-fields-if-not-present-in-the-source/m-p/1166105#M893372</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-16T15:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: Set a dummy value to fields if not present in the source</title>
      <link>https://community.qlik.com/t5/QlikView/Set-a-dummy-value-to-fields-if-not-present-in-the-source/m-p/1166106#M893373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That helped Jeremy, Thank you &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2016 07:45:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-a-dummy-value-to-fields-if-not-present-in-the-source/m-p/1166106#M893373</guid>
      <dc:creator>imhappiee</dc:creator>
      <dc:date>2016-08-23T07:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: Set a dummy value to fields if not present in the source</title>
      <link>https://community.qlik.com/t5/QlikView/Set-a-dummy-value-to-fields-if-not-present-in-the-source/m-p/1166107#M893374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anand,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thanks for marking my answer as correct. I appreciate your efforts to do that (and thanks to Jeremy too). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the best and happy Qliking! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2016 08:19:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-a-dummy-value-to-fields-if-not-present-in-the-source/m-p/1166107#M893374</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2016-08-23T08:19:48Z</dc:date>
    </item>
  </channel>
</rss>

