Forum Discussion

ElvirBotic's avatar
ElvirBotic
Helper III
4 years ago
Solved

Counting Blank Dates in Date Column

I am trying to solve a problem where I need to count a column "Date Completed" and find out how many records have a blank in the "Date Completed" column. I originally used Measure1 = CALCULATE ( COUN...
  • VahidDM's avatar
    4 years ago

    Hi ElvirBotic 

     

    Try this:

    Measure1 =
    COUNTROWS ( 'Table1' )
        - COUNTROWS ( FILTER ( 'Table1', Table1[DateCompleted] <> BLANK () ) )
    




    If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
    Appreciate your Kudos!!
    LinkedIn: 
    www.linkedin.com/in/vahid-dm/