Forum Discussion
countif column has entry (don't count blanks)
Thanks but that formula is not working and potentially I'm doing it wrong
Airport Line = CALCULATE(count('EngagorData'[Tag-L3 » Airport Line]),FILTER('EngagorData','EngagorData'[Tag-L3 » Airport Line]<>""))
Above is the formula I used and it returns nothing.
In your formula you reference to "numericcolumn and sometable some column. am i missing something.
My data table is call "EngagorData" and the column is called "Tag-L3 » Airport Line". In each cell it is either blank or has the entry "Tag-L3 » Airport Line"
I have even tried this and returns nothing.
Airport Line = CALCULATE(count('EngagorData'[Tag-L3 » Airport Line]),FILTER('EngagorData','EngagorData'[Tag-L3 » Airport Line]="Tag-L3 » Airport Line"))
What numbers do you get from each of these
COUNTROWS( ), COUNTA( ), COUNT( ) and COUNTBLANK( )
and what DATA TYPE is the column?
- Anonymous10 years agoNot applicable
Got it working
Measure = COUNTA('EngagorData'[Tag-L3 » Airport Line]) - COUNTBLANK('EngagorData'[Tag-L3 » Airport Line])
- Sean10 years ago
Community Champion
I must not be understanding this question???- ImkeF10 years ago
Community Champion
I like to recommend that you use the query editor to clean your tables before loading them into the data model.
If a blank that isn't blank creates problems already at this stage, there's quite a likelihood that it will produce other errors as well later on - maybe some of them that will not as easily be spotted as this one.