sisense.com
✅ You are viewing documentation for the latest version of Compose SDK.
Version:

Function hasFormulaFilter Beta

hasFormulaFilter(measure, match): boolean

Checks whether a calculated measure formula contains a filter matching the given target.

Parameters

ParameterTypeDescription
measureReadonly< CalculatedMeasure >The calculated measure to check.
matchFormulaFilterMatcherHow to target the filter. See FormulaFilterMatcher.

Returns

boolean

true when a matching filter is present.

Example

hasFormulaFilter(revenue, DM.Category.Category); // true
hasFormulaFilter(revenue, DM.Commerce.Country); // false
Last Updated: