Qlik Community

QlikView Creating Analytics

Discussion Board for collaboration related to Creating Analytics for QlikView.

Highlighted
cliff_clayman
Contributor 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

Re: Pie Chart expression to show 2 values

7 Replies
agomes1971
Valued Contributor II

Re: Pie Chart expression to show 2 values

Hi,

please send sample.

Thanks

André Gomes

Re: Pie Chart expression to show 2 values

May be this as your second expression:

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

agomes1971
Valued Contributor II

Re: Pie Chart expression to show 2 values

Hi,

please see this article:

Pie Charts: Showing Percentage of Two Values

HTH

André Gomes

cliff_clayman
Contributor II

Re: Pie Chart expression to show 2 values

Here is a sample.

Re: Pie Chart expression to show 2 values

Re: Pie Chart expression to show 2 values

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

Capture.PNG

Not applicable

Re: Pie Chart expression to show 2 values

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