Skip to Main Content

Analytics Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

OBIEE 11g Count function does not working with filter

Devel007Oct 9 2015 — edited Oct 12 2015

Data in database table:

PERSONSALARYCOUNTRY
Person10Greenland
Person2200Greenland
Person3200Italy
Person4200Italy
Person5200Italy
Person6200Italy
Person7200Italy

In OBIEE analytics, I want Analysis like below:

Amount of persons

count(person)

Total persons who get salary6

FILTERS:

Salary is bigger than 0   (salary > 0)

------------------------------------------------------------------------------------------------------------------------------------------------------------

The problem is that filter does not working and it counting every line, including  zero value, like below.

TOTAL PERSONS WHO GET SALARY : 7   (thats a wrong answer, it should be 6)

- This is raw example, I have about 10 000 persons and about 500 persons who not get salary/zero salary, I can't put all those persons in the report, I need only total sum of persons.

- If I try use column formula like: filter(count(person) using salary > 0), it gives error message. There's no allowed grouping or something like that:  Aggregate is not allowed within USING clause of a FILTER operator nQSError: 22034

- Also I put measurements in RDP, using case function but result is same in report: 7

Does anyone have any idea how I should resolve this situation?

This post has been answered by Thomas Dodds on Oct 9 2015
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.