<?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: Rename a field and Qualify ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rename-a-field-and-Qualify/m-p/937292#M647971</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/15823"&gt;swuehl&lt;/A&gt;&amp;nbsp; im trying to join three tables loaded via sql and qualify two of the tables apart from the single field from all three that will be the join.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to also rename the field though and I can only seem to rename in one of the table loads?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Oct 2015 14:48:57 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-10-08T14:48:57Z</dc:date>
    <item>
      <title>Rename a field and Qualify ?</title>
      <link>https://community.qlik.com/t5/QlikView/Rename-a-field-and-Qualify/m-p/937287#M647966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have three tables and im using qualify on both to rename the fields but unqulaifying one field that which i rename to be the join between all three tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that two tables will join but I cant get the second table's field to rename!!&amp;nbsp; Ive tried rename field To , rename as within the load.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I rename the field in the qualify of the second table so that all three tables will join ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;QUALIFY *;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;UNQUALIFY fieldname1;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Filteredtable1:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;SQL SELECT *,&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;1 AS countfields &lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;FROM "ABC".dbo."Filteredtable1";&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;UNQUALIFY *;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;QUALIFY *;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;UNQUALIFY fieldname2 ;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Filteredtable2:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;SQL SELECT *,&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;1 AS countfields &lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;FROM "ABC".dbo."Filteredtable2";&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;UNQUALIFY *;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Filteredtable3:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;SQL SELECT *,&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;fieldname3 as fieldname1 , //// JOIN&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;1 AS countfield &lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;FROM "ABC".dbo."Filteredtable3";&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 10:21:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rename-a-field-and-Qualify/m-p/937287#M647966</guid>
      <dc:creator />
      <dc:date>2015-10-08T10:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: Rename a field and Qualify ?</title>
      <link>https://community.qlik.com/t5/QlikView/Rename-a-field-and-Qualify/m-p/937288#M647967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And have you tried:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rename field ABC to XYZ from Filteredtable2;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 10:26:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rename-a-field-and-Qualify/m-p/937288#M647967</guid>
      <dc:creator>kristof_j</dc:creator>
      <dc:date>2015-10-08T10:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: Rename a field and Qualify ?</title>
      <link>https://community.qlik.com/t5/QlikView/Rename-a-field-and-Qualify/m-p/937289#M647968</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 think you need to mention the Tablename also.. like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rename field &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Filteredtable2.FieldName to FieldName;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 10:27:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rename-a-field-and-Qualify/m-p/937289#M647968</guid>
      <dc:creator>settu_periasamy</dc:creator>
      <dc:date>2015-10-08T10:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: Rename a field and Qualify ?</title>
      <link>https://community.qlik.com/t5/QlikView/Rename-a-field-and-Qualify/m-p/937290#M647969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not really sure what you are trying to achieve. Some sample lines of data and expected result may help to understand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These tables link on fieldname1:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QUALIFY *;&lt;/P&gt;&lt;P&gt;UNQUALIFY fieldname1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Filteredtable1:&lt;/P&gt;&lt;P&gt;LOAD *, 1 AS countfields INLINE [&lt;/P&gt;&lt;P&gt;fieldname1, fieldname2, fieldname3&lt;/P&gt;&lt;P&gt;1,1,1&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UNQUALIFY *;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QUALIFY *;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UNQUALIFY fieldname1 ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Filteredtable2:&lt;/P&gt;&lt;P&gt;LOAD fieldname2 as fieldname1, fieldname3, 1 AS countfields INLINE [&lt;/P&gt;&lt;P&gt; fieldname2, fieldname3&lt;/P&gt;&lt;P&gt;,1,1&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UNQUALIFY *;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Filteredtable3:&lt;/P&gt;&lt;P&gt;LOAD fieldname2, fieldname3 as fieldname1, 1 AS countfields INLINE [&lt;/P&gt;&lt;P&gt;fieldname2, fieldname3&lt;/P&gt;&lt;P&gt;1,1&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 10:33:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rename-a-field-and-Qualify/m-p/937290#M647969</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-10-08T10:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: Rename a field and Qualify ?</title>
      <link>https://community.qlik.com/t5/QlikView/Rename-a-field-and-Qualify/m-p/937291#M647970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes doesnt seem to rename the field or says the fieldname is already in use.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 12:08:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rename-a-field-and-Qualify/m-p/937291#M647970</guid>
      <dc:creator />
      <dc:date>2015-10-08T12:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: Rename a field and Qualify ?</title>
      <link>https://community.qlik.com/t5/QlikView/Rename-a-field-and-Qualify/m-p/937292#M647971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/15823"&gt;swuehl&lt;/A&gt;&amp;nbsp; im trying to join three tables loaded via sql and qualify two of the tables apart from the single field from all three that will be the join.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to also rename the field though and I can only seem to rename in one of the table loads?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 14:48:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rename-a-field-and-Qualify/m-p/937292#M647971</guid>
      <dc:creator />
      <dc:date>2015-10-08T14:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: Rename a field and Qualify ?</title>
      <link>https://community.qlik.com/t5/QlikView/Rename-a-field-and-Qualify/m-p/937293#M647972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe there are limitations on RENAME of / to key fields, because there is more involved than just changing the name. So I think you need to go for AS in table load.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 15:00:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rename-a-field-and-Qualify/m-p/937293#M647972</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-10-08T15:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: Rename a field and Qualify ?</title>
      <link>https://community.qlik.com/t5/QlikView/Rename-a-field-and-Qualify/m-p/937294#M647973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that only seems to work in the last table load but its in the second table that i want to rename a field with as but it appears' to do nothing?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 15:18:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rename-a-field-and-Qualify/m-p/937294#M647973</guid>
      <dc:creator />
      <dc:date>2015-10-08T15:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: Rename a field and Qualify ?</title>
      <link>https://community.qlik.com/t5/QlikView/Rename-a-field-and-Qualify/m-p/937295#M647974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you checked my previous post including the script code? I renamed in both table loads a field to fieldname1, thus having all tables linked by fieldname1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this does not work for you, please post an potentially executable script (e.g. using INLINE tables like above) that shows your setting.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 15:32:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rename-a-field-and-Qualify/m-p/937295#M647974</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-10-08T15:32:39Z</dc:date>
    </item>
  </channel>
</rss>

