Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 217157

countrow

$
0
0

I have two table as below. One shows who took what classes, and the other one shows who report to whom. I have troublems adding colum "Total employees report to" into the final view. Should be simply and i am using add new column and countrow function, but it's not working. Can someone help me with this?  

 

Class:

Employee ID      Class
     A                 Cooking
     B                  Math
     C                  English
     D                 Cooking

 

Report To:

Employee ID     Reoport to
   A                       Joe
   B                      Mary
   C                      Joe
   D                     John

 

Final view:

Report to               Count of employees take Cooking Class           Total employees report to                Percentage
Joe                                                  1                                                                    2                                        50%
Mary                                               0                                                                    1                                          0%
John                                               1                                                                    1                                        100%


Viewing all articles
Browse latest Browse all 217157

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>