<?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 Load an excel file with conditions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-an-excel-file-with-conditions/m-p/1664973#M728545</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to load an excel file but I need to add a few conditions.&lt;/P&gt;&lt;P&gt;Sometimes the client adds corrupted data to the excel file, and the goal is to load to the model only the correct data that meet the conditions, and all the corrupted data to load into a separate QVD file.&lt;/P&gt;&lt;P&gt;**an example of the excel file with dummy data is attached.&lt;/P&gt;&lt;P&gt;The conditions:&lt;/P&gt;&lt;P&gt;"Doc. Year" - has to be a number and to include 4 numbers (cannot be empty)&lt;/P&gt;&lt;P&gt;"Doc. Month" - has to be a number and to include 1 to 2 numbers.&amp;nbsp;(cannot be empty)&lt;/P&gt;&lt;P&gt;"Doc. Number" - has to be a date in the format - "DD-MM-YYYY"&amp;nbsp;(cannot be empty)&lt;/P&gt;&lt;P&gt;"Doc. Type" - has to be a&amp;nbsp; string&lt;/P&gt;&lt;P&gt;"Item Code" - has to be a number and if the row is empty then "Item Cat." has to be empty too.&lt;/P&gt;&lt;P&gt;"Item Cat." - has to be a number and if the row is empty then "Item Code"&amp;nbsp; has to be empty too.&lt;/P&gt;&lt;P&gt;Also, If it possible, when loading the corrupted data into a separate qvd file, to add the reason why the data hasn't been loaded,&lt;/P&gt;&lt;P&gt;for example, records that don't have a year will be loaded into a qvd file with the reason "Missing Year" and so on...&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>bellesol</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Load an excel file with conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Load-an-excel-file-with-conditions/m-p/1664973#M728545</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to load an excel file but I need to add a few conditions.&lt;/P&gt;&lt;P&gt;Sometimes the client adds corrupted data to the excel file, and the goal is to load to the model only the correct data that meet the conditions, and all the corrupted data to load into a separate QVD file.&lt;/P&gt;&lt;P&gt;**an example of the excel file with dummy data is attached.&lt;/P&gt;&lt;P&gt;The conditions:&lt;/P&gt;&lt;P&gt;"Doc. Year" - has to be a number and to include 4 numbers (cannot be empty)&lt;/P&gt;&lt;P&gt;"Doc. Month" - has to be a number and to include 1 to 2 numbers.&amp;nbsp;(cannot be empty)&lt;/P&gt;&lt;P&gt;"Doc. Number" - has to be a date in the format - "DD-MM-YYYY"&amp;nbsp;(cannot be empty)&lt;/P&gt;&lt;P&gt;"Doc. Type" - has to be a&amp;nbsp; string&lt;/P&gt;&lt;P&gt;"Item Code" - has to be a number and if the row is empty then "Item Cat." has to be empty too.&lt;/P&gt;&lt;P&gt;"Item Cat." - has to be a number and if the row is empty then "Item Code"&amp;nbsp; has to be empty too.&lt;/P&gt;&lt;P&gt;Also, If it possible, when loading the corrupted data into a separate qvd file, to add the reason why the data hasn't been loaded,&lt;/P&gt;&lt;P&gt;for example, records that don't have a year will be loaded into a qvd file with the reason "Missing Year" and so on...&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-an-excel-file-with-conditions/m-p/1664973#M728545</guid>
      <dc:creator>bellesol</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Load an excel file with conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Load-an-excel-file-with-conditions/m-p/1665057#M728546</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can use few Qlik functions:&lt;/P&gt;&lt;P&gt;Item N°1 :&amp;nbsp; IsNum() and len()&lt;/P&gt;&lt;P&gt;N°2 : IsNum()&lt;/P&gt;&lt;P&gt;N°4: IsText()&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2020 13:56:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-an-excel-file-with-conditions/m-p/1665057#M728546</guid>
      <dc:creator>sergio0592</dc:creator>
      <dc:date>2020-01-13T13:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: Load an excel file with conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Load-an-excel-file-with-conditions/m-p/1674571#M728547</link>
      <description>&lt;P&gt;Did Sergio's post help with your issue?&amp;nbsp; Do not forget to give him credit by using the Accept as Solution button if it did, and if you did something different, consider posting that and marking it.&lt;/P&gt;
&lt;P&gt;I would suspect what you may want to look into is our new products from the Data Integration side of things, but I am not sure how much of this you have to do as to whether it would be worth that or not.&amp;nbsp; You can reach out to your Qlik Account Manager to see if they can arrange a demo of those tools for you, but that is likely the best avenue I believe if you need something more robust.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.qlik.com/us/products/data-integration-products" target="_blank"&gt;https://www.qlik.com/us/products/data-integration-products&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2020 21:08:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-an-excel-file-with-conditions/m-p/1674571#M728547</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-02-11T21:08:03Z</dc:date>
    </item>
  </channel>
</rss>

