<?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 Field should come as a table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Field-should-come-as-a-table/m-p/747055#M1024943</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a excel table in that 30 fields are there. when i load the same into qlikview then i ll get a single table in Data model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but in my case i want all that 30 fields into a individual table in data model (30 seperate tables - Each table consists of Key field and field) with the fact table in it. (like star schema) .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also if one more field in excel added in future that too should get added in data model as a table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Mar 2015 04:28:50 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-03-19T04:28:50Z</dc:date>
    <item>
      <title>Field should come as a table</title>
      <link>https://community.qlik.com/t5/QlikView/Field-should-come-as-a-table/m-p/747055#M1024943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a excel table in that 30 fields are there. when i load the same into qlikview then i ll get a single table in Data model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but in my case i want all that 30 fields into a individual table in data model (30 seperate tables - Each table consists of Key field and field) with the fact table in it. (like star schema) .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also if one more field in excel added in future that too should get added in data model as a table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2015 04:28:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Field-should-come-as-a-table/m-p/747055#M1024943</guid>
      <dc:creator />
      <dc:date>2015-03-19T04:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: Field should come as a table</title>
      <link>https://community.qlik.com/t5/QlikView/Field-should-come-as-a-table/m-p/747056#M1024945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use resident load in the script:&lt;/P&gt;&lt;P&gt;Main Data:&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;Field1,Autohash(Field1) as Key1&lt;/P&gt;&lt;P&gt;,Field2' ,&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Autohash(Field2) as Key2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;,&lt;/P&gt;&lt;P&gt;,&lt;/P&gt;&lt;P&gt;Field30,&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Autohash(Field30) as Key30&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;from file xls;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Key1&lt;/P&gt;&lt;P&gt;,Field1 as First_Field&lt;/P&gt;&lt;P&gt;resident MainData;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Table2:&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Load&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Key2&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;,Field2 as Second_Field&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;resident MainData;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;---&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;--&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;--&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;--&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;--&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Similarly for all 30 &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2015 04:47:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Field-should-come-as-a-table/m-p/747056#M1024945</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2015-03-19T04:47:30Z</dc:date>
    </item>
    <item>
      <title>Re: Field should come as a table</title>
      <link>https://community.qlik.com/t5/QlikView/Field-should-come-as-a-table/m-p/747057#M1024946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Logesh:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you can use metadata to extract all the names of the fields you want to make individual tables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - I am not sure if you can read metadata of an excel file in Qlikview directly but I am sure you can read metadata from QVD files&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - And then you can filter out the Key fields and keep the fields you want to make individual tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate them using CONCAT() with single quotes and comma.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -Something like CONCAT(chr(39) &amp;amp; [Field Names] &amp;amp; chr (39),',') AS [Concat Field Names]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then use FOR EACH ... IN ... to loop through all the names and create a single table in each loop.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Something like&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FOR EACH vField IN $(Concat Field Names)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [$(vField)]:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NoConcatenate&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Key Field 1],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Key Field 2],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [$(vField)]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NEXT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think in this case, even if you add in new fields the new table will generate automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Above scripts may not be exact and I haven't test it before. Just a suggest on top of my head&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2015 05:43:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Field-should-come-as-a-table/m-p/747057#M1024946</guid>
      <dc:creator />
      <dc:date>2015-03-19T05:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: Field should come as a table</title>
      <link>https://community.qlik.com/t5/QlikView/Field-should-come-as-a-table/m-p/747058#M1024948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually I am not sure how is your Fact table would look like.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need multiple key fields for individual tables, above script will create synthetic fields. So maybe concatenate them instead of what I just wrote.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So instead of using&lt;/P&gt;&lt;P&gt;[Key Field 1],&lt;/P&gt;&lt;P&gt;[Key Field 2]&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use&lt;/P&gt;&lt;P&gt;[Key Field 1] &amp;amp; '-' &amp;amp; [Key Field 2] &amp;amp; '-' &amp;amp; [Key Field 3]...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2015 05:47:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Field-should-come-as-a-table/m-p/747058#M1024948</guid>
      <dc:creator />
      <dc:date>2015-03-19T05:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: Field should come as a table</title>
      <link>https://community.qlik.com/t5/QlikView/Field-should-come-as-a-table/m-p/747059#M1024949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No automatic loading and data trasformation is available. I thinkl. you can try ETL tool of the QV in data loading. Or you can harcod it like sujeet's approach. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2015 06:07:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Field-should-come-as-a-table/m-p/747059#M1024949</guid>
      <dc:creator>hariprasadqv</dc:creator>
      <dc:date>2015-03-19T06:07:38Z</dc:date>
    </item>
  </channel>
</rss>

