DAX count function with condition

  • How to Count a column with condition

    Example: I have to count a column A with condition value "Yes" (A="Yes") in that column

    Thank You,

    Grace

  • Hello Grace,

    Not sure how you if you just want a Count the number of times Yes appear in a column but hope this helps;

    =CALCULATE (Count (Table Name) [column A]), Table Name [Column A] =”Yes”)

    You need to replace the formula with your table name and column name.

    Regards,

    DJTRIN

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply