<?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: Analyze data that have network structure in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Analyze-data-that-have-network-structure/m-p/293851#M584094</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The attached file contains an small example about what we are talking about. I need to know what is the best way to connect these 2 tables with each others.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Oct 2011 09:22:20 GMT</pubDate>
    <dc:creator>Yousef_Amarneh</dc:creator>
    <dc:date>2011-10-05T09:22:20Z</dc:date>
    <item>
      <title>Analyze data that have network structure</title>
      <link>https://community.qlik.com/t5/QlikView/Analyze-data-that-have-network-structure/m-p/293846#M584089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 2 tables, the first one contains 3 columns (for example): (FromCompany (FK),ToCompany(FK),LineLength)&amp;nbsp; and the second one contains (CompanyID (PK) ,details ...).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. what is the best way to make the relation between these tables knowing that FromCompany and ToCompany are related with CompanyID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Lets consider that CompanyID contains 1,2,3,4 as data rows and FromCompany contains 1,2,3 and ToCompany contains 2,3,4 as the follwoing&lt;IMG alt="Ex.jpg" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/7565_Ex.jpg" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now I need to do some analysis for this example such as what is the line length between comp 1 and comp 4 (the answer is 75), which compay is provided by comp 3 (the answer is comp 4) and so on, can I do such analysis on QlikView and how?? what's the best way to build the schema and the relations??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need your help guys ASAP &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Yousef Amarneh &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2011 13:38:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Analyze-data-that-have-network-structure/m-p/293846#M584089</guid>
      <dc:creator>Yousef_Amarneh</dc:creator>
      <dc:date>2011-09-27T13:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: Analyze data that have network structure</title>
      <link>https://community.qlik.com/t5/QlikView/Analyze-data-that-have-network-structure/m-p/293847#M584090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it like the num in companyto is always a succeding num of Comp from(i.e., alway 1-2, 2-3, 3-4, 4-5)?? if so its a direct solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would relate Compfrom to the the Comp ID with an alias like suppose CompID2, and Create objects on the front end to select the from and to. where those selections on the object define variables with the selected number Suppose fromcomp num is vFrom and to comp number is vTo. Use set analysis for the total,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt; CompID2&amp;gt;= $(vFrom),&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; CompID2&amp;lt;$(vTo)&amp;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; line length).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I have a better understanding with the data or have real data we can get better solutions though...!!Interesting one, let me know if there are anymore conditions...!! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Oct 2011 16:52:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Analyze-data-that-have-network-structure/m-p/293847#M584090</guid>
      <dc:creator />
      <dc:date>2011-10-03T16:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: Analyze data that have network structure</title>
      <link>https://community.qlik.com/t5/QlikView/Analyze-data-that-have-network-structure/m-p/293848#M584091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please explain your answer within a small QVW file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Oct 2011 06:46:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Analyze-data-that-have-network-structure/m-p/293848#M584091</guid>
      <dc:creator>Yousef_Amarneh</dc:creator>
      <dc:date>2011-10-04T06:46:10Z</dc:date>
    </item>
    <item>
      <title>Analyze data that have network structure</title>
      <link>https://community.qlik.com/t5/QlikView/Analyze-data-that-have-network-structure/m-p/293849#M584092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yousef,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think your problem could be seen as a hierarchy, right? There are some built in mechanism to create a hierarchy from data like yours, which should allow you then to answer like above questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please have a look at the manual or here in the forum, search for hierarchy or hierarchybelongsto keywords preceding the load the statement. I remember there are some examples in the manual.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Oct 2011 06:59:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Analyze-data-that-have-network-structure/m-p/293849#M584092</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-10-04T06:59:11Z</dc:date>
    </item>
    <item>
      <title>Re: Analyze data that have network structure</title>
      <link>https://community.qlik.com/t5/QlikView/Analyze-data-that-have-network-structure/m-p/293850#M584093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yousef,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you send me your QVW file with some records on both tables or some records from both tables?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sajeevan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Oct 2011 18:22:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Analyze-data-that-have-network-structure/m-p/293850#M584093</guid>
      <dc:creator />
      <dc:date>2011-10-04T18:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: Analyze data that have network structure</title>
      <link>https://community.qlik.com/t5/QlikView/Analyze-data-that-have-network-structure/m-p/293851#M584094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The attached file contains an small example about what we are talking about. I need to know what is the best way to connect these 2 tables with each others.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2011 09:22:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Analyze-data-that-have-network-structure/m-p/293851#M584094</guid>
      <dc:creator>Yousef_Amarneh</dc:creator>
      <dc:date>2011-10-05T09:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: Analyze data that have network structure</title>
      <link>https://community.qlik.com/t5/QlikView/Analyze-data-that-have-network-structure/m-p/293852#M584095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you check this QVW and let me know. You need to hold control and select the 'key'(it is a drop down select) which defines your path it gives you the total.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2011 15:56:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Analyze-data-that-have-network-structure/m-p/293852#M584095</guid>
      <dc:creator />
      <dc:date>2011-10-05T15:56:57Z</dc:date>
    </item>
  </channel>
</rss>

