Categories
- All Categories
- Oracle Analytics and AI Learning Hub
- 52 Oracle Analytics and AI Sharing Center
- 19 Oracle Analytics and AI Lounge
- 288 Oracle Analytics and AI News
- 57 Oracle Analytics and AI Videos
- 16.3K Oracle Analytics and AI Forums
- 6.5K Oracle Analytics and AI Labs
- Oracle Analytics and AI User Groups
- 111 Oracle Analytics and AI Trainings
- 21 Oracle Analytics and AI Challenge
- Find Partners
- For Partners
Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture
BICS how to average on rows but not count zeros
Gdescheneau-Oracle
Rank 1 - Community Starter
Summary
BICS how to average on rows but not count zeros
Content
How can I average on rows but the count will not count zeros? Is this possible? example row1 = 100, row2 = 100, row3 = 0, and row4 = 0. AVG does the math (100+100+0+0)/4=50. I want it to skip "0" in the count of rows. so something like (100+100+0+0)/2=100. Excel has AVERAGEIF.
0
Answers
-
You can use >0 on your case statement and proceed to calculate the AVERAGE for only the data >0.
0