Use case for function DoesVisualizationHaveData

Use case for function DoesVisualizationHaveData

FIRST CREATED ON 29 Apr 2025  I  AUTHOR Emma Camacho

The following App has a Pie Chart and a Table. Depending on the Qlik Sense property Include null values, the Pie Chart and Table will look different.
Using the function DoesVisualizationHaveData in the condition property of both Elements, different Reports will be generated. Below are the combinations of including/excluding the null values in Qlik and including/excluding the null values in the function DoesVisualizationHaveData.

Include null values Property
in Qlik Sense
Chart and Table according to the property Include null values
Both M&D elements have the Condition property set to DoesVisualizationHaveData(0)
and a Replacement Text "no data" in the Exclusion Settings.

Both M&D elements have the Condition property set to DoesVisualizationHaveData(-1)
and a Replacement Text "no data" in the Exclusion Settings




M&D output
M&D output















Info
Looking for Additional Guidance?
If you require more detailed information or further assistance, please visit our comprehensive Online Documentation. Our resources are designed to help you navigate all features and functionalities effectively.