You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Announcing a new experience for the Oracle Analytics community coming April 4th!
This category will be read-only as we migrate this space from 3/30-4/4, after which you’ll be able to post as usual. See you there!

Count positive values and compare with total count to get the aggregated share of positive values

Accepted answer
32
Views
3
Comments

Summary:

How can I count the number of positive values in a column and compare with the total count to get the share percentage of positive values?

Content (required):

I have column with positive, negative and 0 values. I want to count the number of positive values (>0) and then compare with the count of all values to show which percentage of the values are positive on an aggregated level.

Please see screenshot for details.

Thanks in advance!

Version (include the version you are using, if applicable):

22D

Code Snippet (add any code snippets that support your topic, if applicable):


Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!