Forum Discussion

elcapitano's avatar
elcapitano
Regular Visitor
4 years ago
Solved

Aggregating fields but applying total at a specific dimension

Hi folks,   I am hoping this is a simple question and its a bit of a funky problem to solve that I've not come across in Power BI. Basically if you imagine we have a dataset which produces Field co...
  • mahoneypat's avatar
    4 years ago

    You can try an expression like this.

     

    Measure2 =
    VAR M1sumx =
    SUMX ( ALLSELECTED ( Table[Field] ), [Measure 1] )
    RETURN
    IF ( MIN ( Table[Field] ) = "A", M1sumx )

     

    Pat