Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Measure to Sum Joined Tables

I have my data model set up with a customer table and an eventtable. Multiple customers go to each event, and events have different durations. I want to sum up the total minutes that customers are at...
  • v-eachen-msft's avatar
    v-eachen-msft
    6 years ago

    Hi Anonymous ,

     

    You don't need to sum it twice. Please refer to the following measure:

    Measure =
    CALCULATE (
        SUM ( Events[Duration] ),
        NATURALINNERJOIN ( 'Events', 'CustomerEvents' )
    )