Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
cliff_clayman
Creator II
Creator II

Pie Chart expression to show 2 values

I am trying to create a Pie Chart to show me the count of ID's that exceed limits and then the remainder that are within the limits.  Here is the expression to get the Count for the ID's that exceed the limits:

=Count(If([MLimit] > 5000 Or [TLimit] > 2500, [TransID]))

How can I also get the remainder that are within the limits to display on the pie chart?

1 Solution

Accepted Solutions
7 Replies
agomes1971
Specialist II
Specialist II

Hi,

please send sample.

Thanks

André Gomes

sunny_talwar

May be this as your second expression:

=Count(If([MLimit] <= 5000 and [TLimit] <= 2500, [TransID]))

agomes1971
Specialist II
Specialist II

Hi,

please see this article:

Pie Charts: Showing Percentage of Two Values

HTH

André Gomes

cliff_clayman
Creator II
Creator II
Author

Here is a sample.

sunny_talwar

This?

Capture.PNG

sunny_talwar

Here I have added two approaches you can use to reach your final goal

Capture.PNG

Not applicable

Hi Cliff,

I have used two expression.

first expression is used to select all satisfied criteria and second is used to select the opposite of the first thats means you will get all values in our pie chart.

pie4.JPG

@cliff.clayman @stalwar1

Thanks,

YJ