Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Count using 2 tables

Hello,   Sorry for the title, I don't know how to resume my question   I have 2 tabs A and B which have a same column "Club". Club is so the relation between A and B (1:*) I would like to use DA...
  • AlB's avatar
    6 years ago

    Hi Anonymous 

    You can create a  calculated column in table Aas follows:

    NewColumn = CALCULATE(COUNTROWS(TableB))

     

     

    Please mark the question solved when done and consider giving kudos if posts are helpful.

     

    Cheers  Datanaut

  • az38's avatar
    6 years ago

    Hi Anonymous 

    try  a measure

     

    =calculate(countrows('B'[Club]))

     

    it should be enough in row context

    do not hesitate to give a kudo to useful posts and mark solutions as solution