<?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: Finding relationship rating in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Finding-relationship-rating/m-p/1752258#M57948</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;Thank you for your response. Indeed there was mistake on column name, I corrected it.&lt;/P&gt;&lt;P&gt;What I want is to find which countries are involved the most.&lt;/P&gt;</description>
    <pubDate>Wed, 14 Oct 2020 07:50:02 GMT</pubDate>
    <dc:creator>Kishor_Thorat</dc:creator>
    <dc:date>2020-10-14T07:50:02Z</dc:date>
    <item>
      <title>Finding relationship rating</title>
      <link>https://community.qlik.com/t5/App-Development/Finding-relationship-rating/m-p/1752111#M57917</link>
      <description>&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;If someone can give lead to below problem.&lt;/P&gt;&lt;P&gt;I want to calculate Collaboration rating between countries based on below data.&lt;/P&gt;&lt;P&gt;Collaboration rating = m * n ( m entities of x country&amp;nbsp; * n entities of y country involved in same program)&lt;/P&gt;&lt;P&gt;Program:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Program_ID&lt;/TD&gt;&lt;TD&gt;Program_Name&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;ABC&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;CDE&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;XYZ&lt;/TD&gt;&lt;/TR&gt;&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3&lt;/TD&gt;&lt;TD&gt;LM&lt;/TD&gt;&lt;TD&gt;GB&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Output&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Relationship ( x-y or y - x)&lt;/TD&gt;&lt;TD&gt;Rating&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;FR - BE&lt;/TD&gt;&lt;TD&gt;(3*3) = 9&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;FR - GB&lt;/TD&gt;&lt;TD&gt;(1*1)= 1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;BE - GB&lt;/TD&gt;&lt;TD&gt;(1*2) = 2&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Edit: First column of Entity Involved table is Program_ID, I mistakenly spelled to Project_Id.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 17:58:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Finding-relationship-rating/m-p/1752111#M57917</guid>
      <dc:creator>Kishor_Thorat</dc:creator>
      <dc:date>2024-11-16T17:58:38Z</dc:date>
    </item>
    <item>
      <title>Re: Finding relationship rating</title>
      <link>https://community.qlik.com/t5/App-Development/Finding-relationship-rating/m-p/1752124#M57918</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/117782"&gt;@Kishor_Thorat&lt;/a&gt;&amp;nbsp;Not sure how your two sample tables linked to each other and hence don't understand the&amp;nbsp; reason for the expected output. Would you be able to explain what is going on?&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2020 15:58:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Finding-relationship-rating/m-p/1752124#M57918</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2020-10-13T15:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: Finding relationship rating</title>
      <link>https://community.qlik.com/t5/App-Development/Finding-relationship-rating/m-p/1752258#M57948</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;Thank you for your response. Indeed there was mistake on column name, I corrected it.&lt;/P&gt;&lt;P&gt;What I want is to find which countries are involved the most.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2020 07:50:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Finding-relationship-rating/m-p/1752258#M57948</guid>
      <dc:creator>Kishor_Thorat</dc:creator>
      <dc:date>2020-10-14T07:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: Finding relationship rating</title>
      <link>https://community.qlik.com/t5/App-Development/Finding-relationship-rating/m-p/1752345#M57953</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/117782"&gt;@Kishor_Thorat&lt;/a&gt;&amp;nbsp;Okay, so I understand that the link between the two tables is Program ID, but how exactly are you getting 3 * 3 for FR - BE... may be walk us through this example so that we can understand what you are really after&lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2020 11:15:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Finding-relationship-rating/m-p/1752345#M57953</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2020-10-14T11:15:48Z</dc:date>
    </item>
    <item>
      <title>Re: Finding relationship rating</title>
      <link>https://community.qlik.com/t5/App-Development/Finding-relationship-rating/m-p/1752372#M57956</link>
      <description>&lt;P&gt;Yes sure, let me try to explain.&lt;/P&gt;&lt;P&gt;Formula is:&lt;/P&gt;&lt;P&gt;Collaboration rating = m * n ( m entities of x country * n entities of y country involved in same program)&lt;/P&gt;&lt;P&gt;For example,&amp;nbsp;&lt;/P&gt;&lt;P&gt;For country FR we have two entities AB (participating in program 1 and 2), EF (participating in program 2)&lt;/P&gt;&lt;P&gt;For country BE we have two entities CD (participating in program 1,2 and 3),&amp;nbsp; MN (participating in program 1)&lt;/P&gt;&lt;P&gt;If we take intersection of both countries, in common they have their entities involved in programs 1 and 2.&amp;nbsp; BE has entity CD is involved program 3 but no FR entity is involved in program 3 hence program 3 will not be considered for rating between FR and BE.&lt;/P&gt;&lt;P&gt;Lets consider FR as x country and it has entities AB involved in 2 programs and EF involved in 1 program&lt;/P&gt;&lt;P&gt;m= 3 (2*AB + 1*EF)&lt;/P&gt;&lt;P&gt;Consider BE as y country and it has entities CD involved 2 programs and MN involved 1 program.&lt;/P&gt;&lt;P&gt;n = 3 (2*CD + 1*MN).&amp;nbsp;&lt;/P&gt;&lt;P&gt;hence rating = m * n = 3*3 = 9&lt;/P&gt;&lt;P&gt;Similarly, FR and GB each has only one entity involved on 1 common program_id 1.&lt;/P&gt;&lt;P&gt;hence rating = m * n = (1* AB) * (1* ED)&amp;nbsp; = 1* 1 = 1&lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2020 12:03:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Finding-relationship-rating/m-p/1752372#M57956</guid>
      <dc:creator>Kishor_Thorat</dc:creator>
      <dc:date>2020-10-14T12:03:22Z</dc:date>
    </item>
  </channel>
</rss>

