DoesVisualizationHaveData
  • 29 Apr 2025
  • 1 Minute to read
  • Dark
    Light

DoesVisualizationHaveData

  • Dark
    Light

Article summary

General

The DoesVisualizationHaveData(includes_null) function returns a true if the Qlik Chart or Qlik Table has data or false if the Qlik Chart or Qlik table does not have data.
This function can only be used in properties in the M&D element of a Qlik Chart or Qlik Table. The typical use case would be to use this function in the Condition property of the element.

Syntax

The syntax of the DoesVisualizationHaveData function is:

DoesVisualizationHaveData Function Syntax

DoesVisualizationHaveData (includes_null)
The parameter includes_null is mandatory. It defines if the nulls in the Qlik Chart or Table should be considered (-1) or not (0).

Examples

Use the function DoesVisualizationHaveData(0) in the condition property to exclude a Qlik Chart or Qlik Table from a report.
For more information, see Use case for function DoesVisualizationHaveData.


Was this article helpful?

What's Next