Forum Discussion

Brenda_Loznik's avatar
Brenda_Loznik
Advocate II
3 years ago
Solved

Summarize while ignoring context

Hi,   I'm trying to create a measure that sums FCT_Contract[NumberOfContracts] for each Dim_Customer[HoldingName], but only when there is a holding (i.e.  HoldingName <> Blank()).   I have tried ...
  • eliasayyy's avatar
    eliasayyy
    3 years ago

    its ok well im not sure about your dataset but i replicated just the table you provided above 


    create the new measure

    Total by Holding = 
    CALCULATE([Number of Contracts],ALLEXCEPT('Table','Table'[HoldingName]),'Table'[Holding] = 1)