Site icon i2tutorials

Amazon QuickSight – isNotNull

Amazon QuickSight – isNotNull

 

In Amazon QuickSight, the isNotNull function is used to check if an expression is not null. 

 

Syntax

 

#Start#
isNotNull(expression)
#End#

 

This function takes one argument

  1. expression: This parameter can be any valid QuickSight expression that returns a value. This can be a field reference, a constant, a function call, or any combination of these.

 

Suppose you have a dataset that includes a Product field, and you want to filter the data to include only records where the Product field is not null. To do this, you could create a filter using the isNotNull function as follows

Example

#Start#
isNotNull({Product})
#End#

 

This will filter the data to include only records where the Product field is not null. You can use the isNotNull function in combination with other functions like ifelse or sum to perform more complex calculations or filters based on non-null values.

 

Exit mobile version