Forum Discussion

NJ13's avatar
NJ13
Helper I
4 years ago
Solved

Count if

Hello All,  I need some help please, I want to calculate using count if for a text column, i have a column with words such as boy ; girl ; child ; family ; And ; model and different other combinatio...
  • Samarth_18's avatar
    4 years ago

    Hi @ ,

     

    You can create a measure like this:-

    Measure =
    CALCULATE (
        COUNT ( 'Table'[Column1] ),
        CONTAINSSTRING ( 'Table'[Column1], "boy" )
    )

     

    Thanks,

    Samarth