Forum Discussion

Sanctuarius's avatar
Sanctuarius
New Member
4 years ago
Solved

COUNT Formula with Multiple Criteria

Hi all,   I was hoping someone could assist me with a DAX query as I have fairly basic knowledge of it.   What would be the formula if I would like to COUNT number of rows if the conditions for t...
  • Samarth_18's avatar
    4 years ago

    Hi Sanctuarius ,

     

    Please try this:-

    measure_ =
    COUNTROWS (
        FILTER (
            'table',
            'table'[assignment_group]
                IN { "Site Survey - Area C", "Site Survey - South Flank", "Site Survey - Yandi" }
                && 'table'[Site Survey - Rework] = "TRUE"
        )
    )

     

    Thanks,

    Samarth