Working with Data: All the calculations you need t
  • Introduction
  • What is this book?
  • How to Use this Book
  • Document Notes
  • Authors' Thanks
  • Strings
    • Concatenate
    • Split
    • Length
    • Slice
    • Trim
    • Contains
    • Match
    • Replace
    • Upper/Lower Case
  • Numbers
    • Sum
    • Average
    • Roll Ups
    • Round
    • Floor
    • Power
    • Square Root
    • Absolute
  • Dates
    • Date Difference
    • Age
  • Logical
    • Logical Operators
    • If
    • Case / Switch
    • Is Null/Empty
  • General
    • Count
    • Filter
    • Sort
    • Lookup/Join
    • Variables
    • Convert Type
  • Appendix
    • DateTime Parts
    • Helpful Resources
Powered by GitBook
On this page
  • Excel
  • Tableau
  • Alteryx
  • OrgVue
  • tSQL
  • Python

Was this helpful?

  1. Logical

Is Null/Empty

  • Is Blank: tests for whether a cell has no apparent value, " " may be missed

  • Is Null: tests for whether the result returned in a cell is null

  • Is Empty: tests for whether a cell has no value

Excel

  • Is Blank: =~ISBLANK!~(‹cell›)

  • Is Null: =~ISERROR!~(‹cell›)

=ISBLANK(A1)
=ISERROR(A2)

Tableau

~ISNULL!~(‹field›)

ISNULL([Name])

NB. In Tableau, Null and Blank values are treated as equivalent.

Alteryx

  • Is Blank: ~ISEMPTY!~(‹field›)

  • Is Null: ~ISNULL!~(‹field›)

ISEMPTY([Name])
ISNULL([Salary])

NB. The ISEMPTY() test will also return 'True' for Null values

OrgVue

  • Is Blank: node.‹field›.~isblank!~

  • Is Null: node.‹field› == ~null!~

node.name.isblank;
node.salary == null;

tSQL

‹field› ~IS NULL!~

SELECT * 
FROM EmployeesData
WHERE FullName IS NULL

Python

~not!~ ‹field›

not name
PreviousCase / SwitchNextGeneral

Last updated 5 years ago

Was this helpful?

NB. The above example assumes a variable has been declared for name. For more information, go to .

General > Variables