<?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 two linked fields in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/two-linked-fields/m-p/229608#M81501</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i tried to rename the field in QV, the script works but it tells me that I have a circular reference...&lt;/P&gt;&lt;P&gt;becauses my two facts table are linked to same dimensions... I need to link the two fields but not into the script...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Apr 2011 11:23:15 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-04-27T11:23:15Z</dc:date>
    <item>
      <title>two linked fields</title>
      <link>https://community.qlik.com/t5/QlikView/two-linked-fields/m-p/229599#M81492</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;I've got a litle pb with two fields:&lt;/P&gt;&lt;P&gt;I had a circular reference so I copy out a dimension.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-4180_sourceID:4180" /&gt;&lt;/P&gt;&lt;P&gt;My pb is that I want to compare my two fact tables when they have the same value for "Annee"..&lt;/P&gt;&lt;P&gt;how can i do : when I click on one of fields the other one is selecting if the value is the same ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;sorry for my english&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2011 10:13:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/two-linked-fields/m-p/229599#M81492</guid>
      <dc:creator />
      <dc:date>2011-04-26T10:13:36Z</dc:date>
    </item>
    <item>
      <title>two linked fields</title>
      <link>https://community.qlik.com/t5/QlikView/two-linked-fields/m-p/229600#M81493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;QlikView solves the problem of circular references by defining a loosely coupled table. QlikView will attempt to make the longest table loosely coupled. To avoid ciruclar references and loosely coupled tables, you must rename the fields that causes the loops, or you can join the tables together into one table to solve the ciruclar reference.&lt;/P&gt;&lt;P&gt;In your case you can join the tables in the load script to fix the problem. Please post the QV document with sample data, incase you need help on doing this task.&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2011 10:26:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/two-linked-fields/m-p/229600#M81493</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2011-04-26T10:26:34Z</dc:date>
    </item>
    <item>
      <title>two linked fields</title>
      <link>https://community.qlik.com/t5/QlikView/two-linked-fields/m-p/229601#M81494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I load my dataset from a mysql DB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, in the script I have:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODBC CONNECT TO mysql_local;&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM etl4.affiliation;&lt;/P&gt;&lt;P style="font-style: italic; font-weight: bold"&gt;SQL SELECT *&lt;/P&gt;&lt;P style="font-style: italic; font-weight: bold"&gt;FROM etl4.annee;&lt;/P&gt;&lt;P style="font-style: italic; font-weight: bold"&gt;SQL SELECT *&lt;/P&gt;&lt;P style="font-style: italic; font-weight: bold"&gt;FROM etl4.annee2;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;SQL Select * .....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I have to join the two tables in BOLD... What is the syntaxe?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2011 13:45:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/two-linked-fields/m-p/229601#M81494</guid>
      <dc:creator />
      <dc:date>2011-04-26T13:45:52Z</dc:date>
    </item>
    <item>
      <title>two linked fields</title>
      <link>https://community.qlik.com/t5/QlikView/two-linked-fields/m-p/229602#M81495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;qlikview will join tables if they have common field names. your nspahot in your firs tpost has the field Année 1 and Annee 2. These names are different so qlikview will not join them.&lt;/P&gt;&lt;P&gt;However you did say that you had a circular reference so "copied out a dimension". It is not clear from your second post what your original problem was. You also mention the requirement of joing two fact tables. Are thes the tables called etl4.annee and etl4.annee2?&lt;/P&gt;&lt;P&gt;If your fields have different names in your original source tables you can rename them as you load the data into qlikview.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2011 14:04:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/two-linked-fields/m-p/229602#M81495</guid>
      <dc:creator>pat_agen</dc:creator>
      <dc:date>2011-04-26T14:04:25Z</dc:date>
    </item>
    <item>
      <title>two linked fields</title>
      <link>https://community.qlik.com/t5/QlikView/two-linked-fields/m-p/229603#M81496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your ideas but I'm not allowed to modify the names of tables in mysql.&lt;/P&gt;&lt;P&gt;In QV i d'ont know how to modify that..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there is no way to do : when i click on a field I do blablabl with a trigger for example?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2011 16:20:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/two-linked-fields/m-p/229603#M81496</guid>
      <dc:creator />
      <dc:date>2011-04-26T16:20:16Z</dc:date>
    </item>
    <item>
      <title>two linked fields</title>
      <link>https://community.qlik.com/t5/QlikView/two-linked-fields/m-p/229604#M81497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can rename the field names by using AS keyword. You don't have to change the DB schema.&lt;/P&gt;&lt;P&gt;OldFieldName AS NewFieldName,&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2011 16:38:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/two-linked-fields/m-p/229604#M81497</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2011-04-26T16:38:07Z</dc:date>
    </item>
    <item>
      <title>two linked fields</title>
      <link>https://community.qlik.com/t5/QlikView/two-linked-fields/m-p/229605#M81498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please rename the fields in QV and not in DB.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2011 16:38:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/two-linked-fields/m-p/229605#M81498</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2011-04-26T16:38:35Z</dc:date>
    </item>
    <item>
      <title>two linked fields</title>
      <link>https://community.qlik.com/t5/QlikView/two-linked-fields/m-p/229606#M81499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please can you tell me how to rename the field in QV??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2011 09:42:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/two-linked-fields/m-p/229606#M81499</guid>
      <dc:creator />
      <dc:date>2011-04-27T09:42:15Z</dc:date>
    </item>
    <item>
      <title>two linked fields</title>
      <link>https://community.qlik.com/t5/QlikView/two-linked-fields/m-p/229607#M81500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;table_name:&lt;BR /&gt;load&lt;BR /&gt; old_name &lt;B&gt;as&lt;/B&gt; new_name,&lt;BR /&gt; bad_name &lt;B&gt;as&lt;/B&gt; good_name&lt;BR /&gt;from your_database&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2011 09:47:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/two-linked-fields/m-p/229607#M81500</guid>
      <dc:creator />
      <dc:date>2011-04-27T09:47:40Z</dc:date>
    </item>
    <item>
      <title>two linked fields</title>
      <link>https://community.qlik.com/t5/QlikView/two-linked-fields/m-p/229608#M81501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i tried to rename the field in QV, the script works but it tells me that I have a circular reference...&lt;/P&gt;&lt;P&gt;becauses my two facts table are linked to same dimensions... I need to link the two fields but not into the script...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2011 11:23:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/two-linked-fields/m-p/229608#M81501</guid>
      <dc:creator />
      <dc:date>2011-04-27T11:23:15Z</dc:date>
    </item>
    <item>
      <title>two linked fields</title>
      <link>https://community.qlik.com/t5/QlikView/two-linked-fields/m-p/229609#M81502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to share the QV document with some sample data? That will be easy to fix the issue...&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2011 11:40:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/two-linked-fields/m-p/229609#M81502</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2011-04-27T11:40:29Z</dc:date>
    </item>
    <item>
      <title>two linked fields</title>
      <link>https://community.qlik.com/t5/QlikView/two-linked-fields/m-p/229610#M81503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks to take time to answer..&lt;/P&gt;&lt;P&gt;In the document there is the page which is a Pb..&lt;/P&gt;&lt;P&gt;I want to link the filed annee1 with the annee2... because the grid charges is linked to annee1 and the field insertion is linked to annee2 AND I want to link the 2 fact tables..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2011 12:31:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/two-linked-fields/m-p/229610#M81503</guid>
      <dc:creator />
      <dc:date>2011-04-27T12:31:42Z</dc:date>
    </item>
    <item>
      <title>two linked fields</title>
      <link>https://community.qlik.com/t5/QlikView/two-linked-fields/m-p/229611#M81504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;id_annee,&lt;/P&gt;&lt;P&gt;id_periode,&lt;/P&gt;&lt;P&gt;(id_annee2 &amp;amp; '-' &amp;amp; id_periode2) AS UniqueID,&lt;/P&gt;&lt;P&gt;valueur_annee;&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;BR /&gt;FROM etl4.annee;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;id_annee2,&lt;/P&gt;&lt;P&gt;id_periode2,&lt;/P&gt;&lt;P&gt;(id_annee2 &amp;amp; '-' &amp;amp; id_periode2) AS UniqueID,&lt;/P&gt;&lt;P&gt;valueur_annee2;&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;BR /&gt;FROM etl4.annee2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please use the above script and replace them with(Lines 15 - 18 in example file)&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;BR /&gt;FROM etl4.annee;&lt;BR /&gt;SQL SELECT *&lt;BR /&gt;FROM etl4.annee2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't test it to see if this helps. Because it is fetching the data from MySQL DB directly. So please let me know if this helps...&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2011 12:59:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/two-linked-fields/m-p/229611#M81504</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2011-04-27T12:59:58Z</dc:date>
    </item>
    <item>
      <title>two linked fields</title>
      <link>https://community.qlik.com/t5/QlikView/two-linked-fields/m-p/229612#M81505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;id_annee,&lt;/P&gt;&lt;P&gt;id_periode,&lt;/P&gt;&lt;P&gt;(id_annee &amp;amp; '-' &amp;amp; id_periode) AS UniqueID,&lt;/P&gt;&lt;P&gt;valueur_annee;&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;BR /&gt;FROM etl4.annee;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;id_annee2,&lt;/P&gt;&lt;P&gt;id_periode2,&lt;/P&gt;&lt;P&gt;(id_annee2 &amp;amp; '-' &amp;amp; id_periode2) AS UniqueID,&lt;/P&gt;&lt;P&gt;valueur_annee2;&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;BR /&gt;FROM etl4.annee2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry, please ignore the above script and use this one...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2011 13:00:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/two-linked-fields/m-p/229612#M81505</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2011-04-27T13:00:59Z</dc:date>
    </item>
    <item>
      <title>two linked fields</title>
      <link>https://community.qlik.com/t5/QlikView/two-linked-fields/m-p/229613#M81506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when I do that QV tells me I''ve got a cricular reference and it disablesone of the fact tables...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2011 13:37:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/two-linked-fields/m-p/229613#M81506</guid>
      <dc:creator />
      <dc:date>2011-04-27T13:37:40Z</dc:date>
    </item>
    <item>
      <title>two linked fields</title>
      <link>https://community.qlik.com/t5/QlikView/two-linked-fields/m-p/229614#M81507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ooops!&lt;/P&gt;&lt;P&gt;You are right. I had checked again and there will be circular reference. I just wanted to understand the difference between Annee &amp;amp; Annee2 tables? Do they need to be seperate? or can we merge them as one single table?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2011 13:51:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/two-linked-fields/m-p/229614#M81507</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2011-04-27T13:51:26Z</dc:date>
    </item>
    <item>
      <title>two linked fields</title>
      <link>https://community.qlik.com/t5/QlikView/two-linked-fields/m-p/229615#M81508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;we can merge them but it makes a circular reference.... I duplicated the hierarchy to avoid the circular reference but they are axactly same..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2011 07:58:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/two-linked-fields/m-p/229615#M81508</guid>
      <dc:creator />
      <dc:date>2011-04-28T07:58:50Z</dc:date>
    </item>
    <item>
      <title>two linked fields</title>
      <link>https://community.qlik.com/t5/QlikView/two-linked-fields/m-p/229616#M81509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I looked into qvw file which you have attached but was very confusing. I am just giving you suggestion based on my understanding:&lt;/P&gt;&lt;P&gt;Seems like you want to join "anee2" with "anee". For that, first join Fact tables "anee" and "semestre" like this:&lt;/P&gt;&lt;P&gt;load * from semestre&lt;BR /&gt;left join&lt;BR /&gt;load * from annee&lt;/P&gt;&lt;P&gt;output of this will be a single table and say it "anee1" and it will have the below fields:&lt;BR /&gt;id_annee,&lt;BR /&gt;id_parcours,&lt;BR /&gt;intitule_parc,&lt;BR /&gt;id_periode,&lt;BR /&gt;valeur_annee&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now rename id_annee2 from "annee2" to id_annee&lt;/P&gt;&lt;P&gt;once you are done with this, I think you will be all set.&lt;BR /&gt;Hope that was helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2011 10:11:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/two-linked-fields/m-p/229616#M81509</guid>
      <dc:creator>montubhardwaj</dc:creator>
      <dc:date>2011-04-28T10:11:20Z</dc:date>
    </item>
  </channel>
</rss>

