Skip to Main Content

SQL Developer

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!

Syntax for pie chart report

mariitaOct 22 2014 — edited Oct 22 2014

What is the correct syntax for a "pie chart - multiple" report in Oracle SQL Developer? I'm trying to create a master-child report in which the master report is a bar chart and the child reports are pie charts (multiple). The master report looks fine, but I can't get the child reports to display as pie charts. The child reports display correctly in tabular format, but if I change the format to pie chart then I get the error message: "The data is of zero or negative value and cannot be displayed".

Here is the current query for the child reports:

SELECT year, college_name, student_id, count(student_id) as count_ids

FROM enrollment

WHERE college_name = :COLLEGE_NAME

GROUP BY year, college_name, student_id

ORDER BY year, college_name, student_id;

This is what the child report looks like in tabular format:

data.jpg

This is roughly what I want the pie charts to look like:

pie_charts.jpg

This post has been answered by thatJeffSmith-Oracle on Oct 22 2014
Jump to Answer

Comments

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

Post Details

Locked on Nov 19 2014
Added on Oct 22 2014
6 comments
1,682 views