sql - counif(something) the column A is not empty in tableau -


how make expression in tableau if field not empty count field?

something count if(something) column not empty.

it sounds want count rows. if so, use: count(*) or count(1).

otherwise, use coalesce() or case. if "empty" means null, then:

count(coalesce(a, b)) 

if "empty" means else, like:

count(case when <> '' else b end) 

Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -