Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Aggregate Data with multiple records

Hi all,   I have produced this table below to help describe what I need help with. But I need to aggregate this data so when I look for the month of November 2019 for the type 201, I need the value...
  • v-yuta-msft's avatar
    6 years ago

    Anonymous ,

     

    Create a measure using dax below:

    Result = CALCULATE(SUMX(DISTINCT('Table'[Value]), 'Table'[Value]), ALLSELECTED('Table'))

     

     

    You can also refer to the pbix file.

     

    Community Support Team _ Jimmy Tao

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.