Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Need help filtering with a dax expression

Hi!   Can somebody assist me with this calculation as I have minor trouble:    I have a column which I want to count, but I want to exclude all the rows in that column containing the number "110"...
  • Jihwan_Kim's avatar
    5 years ago

    Hi, Anonymous 

    Please check the below picture and the sample pbix file's link down below.

     

     

    Count except 110 =
    COUNTROWS ( FILTER ( 'Table', NOT CONTAINSSTRING ( 'Table'[ColumnA], "110" ) ) )

     

    https://www.dropbox.com/s/2ppp72bfmuegzd3/pbiuser.pbix?dl=0 

     

    Hi, My name is Jihwan Kim.

     

    If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.

     

    Linkedin: linkedin.com/in/jihwankim1975/

    Twitter: twitter.com/Jihwan_JHKIM