Forum Discussion

TBensen's avatar
TBensen
Icon for Helper I rankHelper I
5 years ago
Solved

Create a Counted Summary Table

Hello,   I'm hoping someone can give me a hand with figuring out how to create a summary table of counts on a specific column value from 2 different tables.  Here is what I have going on...   Inc...
  • DataZoe's avatar
    5 years ago

    Hi TBensen ,

     

    You can do this by introducing a "Seniority" table with each of the numbers for each row. Then removing any other relationships between the Employee table and Incident table, join them both to the Seniority table on the number of years columns.  

     

    You can then create a measure for Incidents, People, and Rate of Incidents.

    Incidents = countrows(Incident)+0
    People = COUNTROWS(Employee)+0
    Rate of Incidents = DIVIDE([Incidents],[People])
     
    Then you create a table with the Seniority table's Seniority Year and the measures you want.