--- title: "DoesVisualizationHaveData" slug: "doesvisualizationhavedata" description: "Reference for the DoesVisualizationHaveData function: how it checks whether a visualization contains data, and how to use it in conditions." updated: 2025-10-07T09:58:30Z published: 2025-10-07T11:02:35Z canonical: "help.mail-and-deploy.com/doesvisualizationhavedata" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.mail-and-deploy.com/llms.txt > Use this file to discover all available pages before exploring further. # DoesVisualizationHaveData ### 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](https://community.mail-and-deploy.com/portal/en/kb/articles/use-case-for-function-doesvisualizationhavedata).