<?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 do we load data in the text format in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-do-we-load-data-in-the-text-format/m-p/879420#M997832</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;Try this script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD DISTINCT *;&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;If(WildMatch(@1, 'Usage*'), Trim(SubField(@1, '=', 2))) AS Usage,&lt;/P&gt;&lt;P&gt;FileName() AS FileName&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[SAMPLE*.txt]&lt;/P&gt;&lt;P&gt;(txt, codepage is 1252, no labels, delimiter is '\t', msq)&lt;/P&gt;&lt;P&gt;WHERE WildMatch(@1, 'Usage*');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEFT JOIN(Data)&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;If(NOT WildMatch(@1, 'Usage*', 'The following components*'), @1) AS Component,&lt;/P&gt;&lt;P&gt;FileName() AS FileName&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[SAMPLE*.txt]&lt;/P&gt;&lt;P&gt;(txt, codepage is 1252, no labels, delimiter is '\t', msq)&lt;/P&gt;&lt;P&gt;WHERE NOT WildMatch(@1, 'Usage*', 'The following components*');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP FIELD &lt;SPAN style="font-size: 13.3333330154419px;"&gt;FileName;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Jun 2015 09:13:05 GMT</pubDate>
    <dc:creator>jagan</dc:creator>
    <dc:date>2015-06-23T09:13:05Z</dc:date>
    <item>
      <title>How do we load data in the text format</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-we-load-data-in-the-text-format/m-p/879417#M997829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/space/2003"&gt;New to QlikView&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi I am getting some data in flat file in the given format and i want to load these data in a tabular format with two columns Say used % and Description&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if the usage % is 100 then there will not be any other line but if its lesser then it will show the components which are not being used .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so i want to capture the usage % in used % colum and component in description&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2015 08:52:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-we-load-data-in-the-text-format/m-p/879417#M997829</guid>
      <dc:creator />
      <dc:date>2015-06-23T08:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: How do we load data in the text format</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-we-load-data-in-the-text-format/m-p/879418#M997830</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;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; Usage%,&lt;/P&gt;&lt;P&gt;&amp;nbsp; If(Usage%=100,null(),Description) as "Description"&lt;/P&gt;&lt;P&gt;Inline [&lt;/P&gt;&lt;P&gt;Usage%, Description&lt;/P&gt;&lt;P&gt;100, XXX&lt;/P&gt;&lt;P&gt;98, YYY&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2015 09:01:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-we-load-data-in-the-text-format/m-p/879418#M997830</guid>
      <dc:creator>fvelascog72</dc:creator>
      <dc:date>2015-06-23T09:01:27Z</dc:date>
    </item>
    <item>
      <title>Re: How do we load data in the text format</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-we-load-data-in-the-text-format/m-p/879419#M997831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi The file may not be static&amp;nbsp; and values may change but data will be same format ...i need to load dyanically using transformation &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2015 09:07:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-we-load-data-in-the-text-format/m-p/879419#M997831</guid>
      <dc:creator />
      <dc:date>2015-06-23T09:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: How do we load data in the text format</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-we-load-data-in-the-text-format/m-p/879420#M997832</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;Try this script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD DISTINCT *;&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;If(WildMatch(@1, 'Usage*'), Trim(SubField(@1, '=', 2))) AS Usage,&lt;/P&gt;&lt;P&gt;FileName() AS FileName&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[SAMPLE*.txt]&lt;/P&gt;&lt;P&gt;(txt, codepage is 1252, no labels, delimiter is '\t', msq)&lt;/P&gt;&lt;P&gt;WHERE WildMatch(@1, 'Usage*');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEFT JOIN(Data)&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;If(NOT WildMatch(@1, 'Usage*', 'The following components*'), @1) AS Component,&lt;/P&gt;&lt;P&gt;FileName() AS FileName&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[SAMPLE*.txt]&lt;/P&gt;&lt;P&gt;(txt, codepage is 1252, no labels, delimiter is '\t', msq)&lt;/P&gt;&lt;P&gt;WHERE NOT WildMatch(@1, 'Usage*', 'The following components*');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP FIELD &lt;SPAN style="font-size: 13.3333330154419px;"&gt;FileName;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2015 09:13:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-we-load-data-in-the-text-format/m-p/879420#M997832</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-06-23T09:13:05Z</dc:date>
    </item>
  </channel>
</rss>

