Forum Discussion

Yashodhan's avatar
Yashodhan
Frequent Visitor
4 years ago
Solved

Dax

How to Count Two Specimen in One column with Meansure ?
  • Anonymous's avatar
    Anonymous
    4 years ago

    Hi Yashodhan ,

     

    Try this

    Count New = 
    CALCULATE (
        COUNT ( 'Table'[Criteria] ),
        FILTER ( 'Table', [Criteria] = "New" )
    )
    Count Old = 
    CALCULATE (
        COUNT ( 'Table'[Criteria] ),
        FILTER ( 'Table', [Criteria] = "Old" )
    )

     

    Best Regards,

    Stephen Tao

     

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