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!

Default aggregation rule not working

mariitaDec 4 2014 — edited Dec 5 2014

I am trying to figure out why I am able to get a record count using a formula but not an aggregation rule.

I am trying to create a logical column called "Total Records" that is a count of all records. The logical column derives from a column that is the primary key for another table, in this case Enrolment ID.

I had originally selected  Column Source Type > Derived From Physical Mappings  and then selected the "Count" default aggregation rule, but this didn't work and gave me a count of zero.

I then selected "Derived from existing columns using an expression" and entered the expression below, which did work. How come the formula worked but not the default aggregation rule?

sum(case   when

(

"Enrolment - College"."F College Enrolment"."Enrolment ID"

is not null

)

then 1 else 0 end)

Comments
Locked Post
New comments cannot be posted to this locked post.