Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago
Solved

Simple DAX Calculation for Counting a Column with Specific Text - Driving Me Mad

Hi All   I have a Project Status column where possible values are:     I was creating a  measure  which is supposed to count all blocked items   CountBlocked = CALCULATE ( COUNTROWS ( t...
  • rtran's avatar
    2 years ago

    Anonymous You have a semicolon instead of a comma after COUNTROWS ( tbl_POAP_master); 

     

    CountBlocked = CALCULATE ( COUNTROWS ( tbl_POAP_master), tbl_POAP_master[Status] = " Blocked " )

  • parry2k's avatar
    2 years ago

    Anonymous do this:

     

    CountBlocked = CALCULATE ( COUNTROWS ( tbl_POAP_master), tbl_POAP_master[Status] = " Blocked " ) + 0