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
Post a Comment