Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

Count records in a related table by ID

I have 2 related tables joined on ID. Table1 is a summary table with 1 record per ID and Table2 is a detail table with multiple records per ID. I need a new column in Table1 with a count of records i...
  • Anonymous's avatar
    Anonymous
    7 years ago

    This might work:

     

    CALCULATE(COUNTAX(Table2,Table2[Value]),Table2[ID])