3 Replies Latest reply: Oct 26, 2017 4:45 PM by Rubens Rodrigues RSS

    Intersection of two datasets in Set Analysis

    Rubens Rodrigues

      Hi guys,


      I have the following scenario:


      • Key account managers who visit their clients (accounts) during a period of time);
      • The Key account managers can visit their accounts according to their panels as well as accounts that don't belong to their panels;
      • An Account panel table that contains each account that belongs to each Key account manager (Island Table).




      • I need to calculate a panel coverage that shows the ratio between the accounts that a manager visited (only accounts that belong to its panel) and the manager's panel (Island table).




      VISIT TABLE: The manager ID 10 has visited the four accounts listed below.

      Manager IDAccount ID


      ACCOUNT PANEL TABLE (Island Table): The manager ID 10 has 4 accounts in his panel according to the table below:

      Manager IDAccount ID




      • Looking at both VISIT and ACCOUNT tables, it's possible to see that the manager 10 visited only two accounts that belong to his panel (1001 and 1002). However, he has four accounts in his panel. Having said that, the formula should be:


      Panel Coverage = 2/4 = 50%.


      It means that, even though the manager 10 visited four accounts, only two accounts belong to his panel, so he is covering only 50% of his panel.


      My question is: Is that possible to do an intersection in set analysis to get this panel? In this ratio, I want that the numerator consider only the accounts that belong to the manager's panel (in this case 2) divided by the number of accounts that the manager has in his personal panel.


      Thank you in advance.




      Rubens Rodrigues