Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

COUNTBLANK function issues

I have a COUNTBLANK function in my Power BI to show the columns where someone has forgotten to put in a number of details but it counts where there is an empty entry in the name column. For some reas...
  • Greg_Deckler's avatar
    Greg_Deckler
    6 years ago

    Anonymous - I would use Clean and Trim operations in Power Query to get rid of any stray characters. You could also try:

     

    Count Blanks =
      COUNTROWS(FILTER(ALL('Table'),ISBLANK([Column]) || [Column]="" || LEN([Column])<3))

     

    Also, why are you not flagging rows with missing data versus columns?