<?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 to find space in the columns in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-find-space-in-the-columns/m-p/1285653#M869593</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I dont know what is der inside the table...that was just example.. incase i find that kind of column with space i need to create new records like we use in sub fields&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Dec 2016 05:16:08 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-12-06T05:16:08Z</dc:date>
    <item>
      <title>How to find space in the columns</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-space-in-the-columns/m-p/1285650#M869590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;I have a script where i ma loading files from the excel and concatenating it. I have list of field names and counts too.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Now i need to find the spaces in the records of the column and make them separate lis&lt;/STRONG&gt;t &lt;/P&gt;&lt;P&gt;Expected: If record found it should display two more lists with First name and surname if the column has space.&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IF&lt;/STRONG&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="124" style="border: 1px solid rgb(0, 0, 0); width: 109px; height: 62px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Ename&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Steve jobs&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Adam Smith&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Yogesh Kumar &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Qlik Community&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;STRONG&gt;FOUND Then make it &lt;/STRONG&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="94" style="border: 1px solid rgb(0, 0, 0); width: 174px; height: 45px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;First Name&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Second name&lt;BR /&gt;&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Steve&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Jobs&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Adam&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Hill&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt; Below is my Script for your assistance&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Concat:&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD 0 as TempField&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;AutoGenerate 0;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FOR Each vfile in FileList('C:\Users\w_318460\Desktop\New folder\*.xlsx')&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Concatenate (Concat)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; LOAD * From [$(vfile)] (ooxml, embedded labels, table is Sheet1);&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NEXT vfile&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DROP Field TempField;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FOR i = 1 to NoOfFields('Concat')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Fields:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; FieldName($(i),'Concat') as FieldName&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;AutoGenerate 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NEXT i&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Regards,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Yogesh&lt;/EM&gt;&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-to-find-space-in-the-columns/m-p/1285650#M869590</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to find space in the columns</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-space-in-the-columns/m-p/1285651#M869591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ename is your data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What was the Expected Output from that&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I didn't understand how you get the Adam &amp;amp; Hill&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 05:10:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-space-in-the-columns/m-p/1285651#M869591</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-12-06T05:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to find space in the columns</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-space-in-the-columns/m-p/1285652#M869592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try with subfield(), like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Load&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Subfield(EBNAME, ' ', 1) as FirstName,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Subfield(EBNAME, ' ', 2) as SecondName&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 05:13:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-space-in-the-columns/m-p/1285652#M869592</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2016-12-06T05:13:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to find space in the columns</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-space-in-the-columns/m-p/1285653#M869593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I dont know what is der inside the table...that was just example.. incase i find that kind of column with space i need to create new records like we use in sub fields&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 05:16:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-space-in-the-columns/m-p/1285653#M869593</guid>
      <dc:creator />
      <dc:date>2016-12-06T05:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to find space in the columns</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-space-in-the-columns/m-p/1285654#M869594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yogesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use subfield function to identify the space and make two different fields from the one field.&lt;/P&gt;&lt;P&gt;below is the example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EName_Temp:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ename&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Steve jobs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Adam Smith&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Yogesh Kumar&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Qlik Community&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EName:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp; Subfield(Ename,' ',1) as FirstName,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Subfield(Ename,' ',-1) as LastNAme&lt;/P&gt;&lt;P&gt;Resident&lt;/P&gt;&lt;P&gt;&amp;nbsp; EName_Temp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is the screenshot for the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Script.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/145680_Script.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Result.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/145681_Result.JPG" style="height: 283px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ishan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 05:20:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-space-in-the-columns/m-p/1285654#M869594</guid>
      <dc:creator>ishanbhatt</dc:creator>
      <dc:date>2016-12-06T05:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to find space in the columns</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-space-in-the-columns/m-p/1285655#M869595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi tresesco,&lt;/P&gt;&lt;P&gt;I can use that if i already know the column name..But hea i donno column names...I am doing load*..please go through my script&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 05:21:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-space-in-the-columns/m-p/1285655#M869595</guid>
      <dc:creator />
      <dc:date>2016-12-06T05:21:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to find space in the columns</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-space-in-the-columns/m-p/1285656#M869596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ishan...i need to get that result using my old script...not separate one..&lt;/P&gt;&lt;P&gt;But this is the expected result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 05:22:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-space-in-the-columns/m-p/1285656#M869596</guid>
      <dc:creator />
      <dc:date>2016-12-06T05:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to find space in the columns</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-space-in-the-columns/m-p/1285657#M869597</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;You can also use subfield parameter value 2 instead of -1. I have attached Example qvw here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 05:25:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-space-in-the-columns/m-p/1285657#M869597</guid>
      <dc:creator>ishanbhatt</dc:creator>
      <dc:date>2016-12-06T05:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to find space in the columns</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-space-in-the-columns/m-p/1285658#M869598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yea thank you. I know the concept of subfield..We need to use loops here not subfield function as a whole &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 05:28:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-space-in-the-columns/m-p/1285658#M869598</guid>
      <dc:creator />
      <dc:date>2016-12-06T05:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to find space in the columns</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-space-in-the-columns/m-p/1285659#M869599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, Try this instead of that&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;For each Variable in FileList('&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;C:\Users\w_318460\Desktop\New folder\*.xlsx&lt;/STRONG&gt;&lt;/SPAN&gt;')&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; TEMP_FILE:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; subfield('$(&lt;SPAN style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-style: inherit;"&gt;&lt;STRONG&gt;Variable&lt;/STRONG&gt;&lt;/SPAN&gt;)','\',-1) as [First Name],&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FileTime('$(&lt;SPAN style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-style: inherit;"&gt;&lt;STRONG&gt;Variable&lt;/STRONG&gt;&lt;/SPAN&gt;)') as [Second Name] autogenerate 1;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;Next &lt;STRONG style="font-style: inherit; font-size: 13px; font-family: inherit; color: #3d3d3d;"&gt;Variable&lt;/STRONG&gt;;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 05:37:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-space-in-the-columns/m-p/1285659#M869599</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-12-06T05:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to find space in the columns</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-space-in-the-columns/m-p/1285660#M869600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's good heard that you ae aware with the subfield function. You can use Subfield function in loop too.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 05:41:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-space-in-the-columns/m-p/1285660#M869600</guid>
      <dc:creator>ishanbhatt</dc:creator>
      <dc:date>2016-12-06T05:41:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to find space in the columns</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-space-in-the-columns/m-p/1285661#M869601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anil, I am get wrong result&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/145684_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 05:41:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-space-in-the-columns/m-p/1285661#M869601</guid>
      <dc:creator />
      <dc:date>2016-12-06T05:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to find space in the columns</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-space-in-the-columns/m-p/1285662#M869602</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;This can be tricky, but you still should be able to do it using SubField() function which would create 2 rows every time it hits record with first and last name.&lt;/P&gt;&lt;P&gt;This is just nasty workaround which quickly came to my mind but it shoudl work. (see attached XLS and QVW so you can test it&lt;SPAN style="font-size: 10pt;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are using Qlik Sense then use script from Script file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;Lech&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 05:49:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-space-in-the-columns/m-p/1285662#M869602</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2016-12-06T05:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to find space in the columns</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-space-in-the-columns/m-p/1285663#M869603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What are you expecting to see, If above one is wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 05:59:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-space-in-the-columns/m-p/1285663#M869603</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-12-06T05:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to find space in the columns</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-space-in-the-columns/m-p/1285664#M869604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi anil,&lt;/P&gt;&lt;P&gt;I don't want table names...i need rows..&lt;/P&gt;&lt;P&gt;If u see the screen shot of Ishan's reply. You will understand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 06:02:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-space-in-the-columns/m-p/1285664#M869604</guid>
      <dc:creator />
      <dc:date>2016-12-06T06:02:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to find space in the columns</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-space-in-the-columns/m-p/1285665#M869605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That i underastand, Tresesco also gave same one. Somehow, I would ask few questions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Does this script related to same file i mean Ename&lt;/P&gt;&lt;P&gt;2) If so, Why are you using the script to split 2 names&lt;/P&gt;&lt;P&gt;3) If Not, Why not SubField() - Can i knnow the reason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 06:12:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-space-in-the-columns/m-p/1285665#M869605</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-12-06T06:12:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to find space in the columns</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-space-in-the-columns/m-p/1285666#M869606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in this file i have column by the name Ename. But those are sample files and fields. Consider i have 100 files and i donno any column name.&lt;/P&gt;&lt;P&gt;This is the question which i got .ie., splitting those column if space found.&lt;/P&gt;&lt;P&gt;Sub field can be used. but we have to use in loops. In his example he already know the column name so he is using subfield ..now i donno column name.&lt;/P&gt;&lt;P&gt;In my script everything is getting loaded and i have check for every column not single column.&lt;/P&gt;&lt;P&gt;Thanks for your support &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, 06 Dec 2016 06:41:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-space-in-the-columns/m-p/1285666#M869606</guid>
      <dc:creator />
      <dc:date>2016-12-06T06:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to find space in the columns</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-space-in-the-columns/m-p/1285667#M869607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you send full script with the Sample Files of Excel which situated in Same Path. and Data Model as well&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 07:26:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-space-in-the-columns/m-p/1285667#M869607</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-12-06T07:26:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to find space in the columns</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-space-in-the-columns/m-p/1285668#M869608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Concat:&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD 0 as TempField&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;AutoGenerate 0;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FOR Each vfile in FileList('C:\Users\w_318460\Desktop\New folder\*.xlsx')&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Concatenate (Concat)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; LOAD * From [$(vfile)] (ooxml, embedded labels, table is Sheet1);&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NEXT vfile&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DROP Field TempField;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FOR i = 1 to NoOfFields('Concat')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Fields:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; FieldName($(i),'Concat') as FieldName&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;AutoGenerate 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NEXT i&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture2.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/145710_Capture2.PNG" style="height: auto;" /&gt;&lt;STRONG&gt;&lt;IMG alt="Capture1.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/145709_Capture1.PNG" style="height: auto;" /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i know field names from the script. now i need to find the space in each field.If found it should split the column into two and display.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 08:03:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-space-in-the-columns/m-p/1285668#M869608</guid>
      <dc:creator />
      <dc:date>2016-12-06T08:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to find space in the columns</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-find-space-in-the-columns/m-p/1285669#M869609</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 have one question - why are you trying to achieve this in Qlik? We just reached the point that we clearly stated we dont even know what data we will pull with this script to Qlik. So my next qustion is how would you like to analyze this data without even understanding what are we bringing here at the end ( there will be bunch of random columns).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just think we are pulling a leg with this one. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the end result of this exercise will be basicly bunch of fields with values without spaces. What analytical meaning does this have ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Examples given by others with subfield etc. are showing a reason that you KNOW that field ENAME could have NAME and&amp;nbsp; LAST NAME and you want to create 2 or maybe 3 fields as it could also have MIDDLE NAME. However if you want to run script which will split your data set and create as many fields as possible maybe store your end result to TXT file, load it to excel and then manipulate it there (using for example split TEXT to COLUMNS functionality) then at least you would be able to control output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It just does not feel right to do this exercise in Qlik script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Lech&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2016 22:23:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-find-space-in-the-columns/m-p/1285669#M869609</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2016-12-07T22:23:10Z</dc:date>
    </item>
  </channel>
</rss>

