Forum Discussion

annade22's avatar
annade22
New Member
7 years ago
Solved

Count values within a groupby and filter

Hi,   I hope someone can help me.  I want to count the Categories per ParentProject and Group if at least one Category = SA. I the ParentProject/Group doesn't include any SA, then I don't want to ...
  • v-chuncz-msft's avatar
    7 years ago

    annade22 

     

    You may add the following measure.

    Measure =
    COUNTROWS (
        FILTER (
            Table1,
            CONTAINS ( Table1, Table1[Group], Table1[Group], Table1[Category], "SA" )
        )
    ) + 0