Forum Discussion
COUNTBLANK function issues
- 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?
Anonymous , is it blank or have some space.
countrows(filter(table,isblank(Table[Column]) || Table[Column]= "" || Table[Column] = " " ))
or try to use trim
- Anonymous6 years agoNot applicable
amitchandak Annoying that function still returns (Blank) meaning there is nothing to count, however, I can see there is a space in my data column still.
- Greg_Deckler6 years ago
Community Champion
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?
- v-xuding-msft6 years ago
Community Support
Hi Anonymous ,
Have you resolved this issue? Is the answer above helpful? If you still need help, can you please share more details, like your sample data and your expected results. Thanks!