Site icon i2tutorials

Amazon QuickSight – contains

Amazon QuickSight – contains

 

The “contains” function in QuickSight is used to check whether a string contains a specific substring. It is often used in data analysis and reporting to filter and group data based on specific criteria.

Syntax

#Start#
contains(expression, substring, string-comparison-mode)
#End#

 

This function takes three arguments

 

 

The string-comparison-mode parameter can take one of three values:

Example

#Start#
contains(CustomerName, "Jones", "CASE_INSENSITIVE")
#End#

 

This filter expression would return true for all customers whose name contains the substring “Jones” regardless of the case of the letters.

 

Exit mobile version