Skip to main content
Announcements
See why Qlik is a Leader in the 2024 Gartner® Magic Quadrant™ for Analytics & BI Platforms. Download Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to show values on pie chart (controlled by variable)

Hi all.

I have a variable (vShowValues) which is toggled between 1 and 0 by way of a button - it allows the user to control whether or not values are displayed on data points (see example screenshot below).

This works well for bar charts, however it doesn’t seem to work with pie charts – any idea what the problem could be?

Many  thanks, Michael.

Example bar chart expression:

expr.jpg

2 Replies
orital81
Partner - Creator III
Partner - Creator III

Hi Michael

I usually use the calculation condition for this,

See screenshot:

untitled.JPG

Hope that helped

Ori

Not applicable
Author

Thanks Ori – however shows/hides the entire pie chart based on the variable, rather than the values on data points.