Skip to Main Content

APEX

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!

3D Stacked column percent chart not displaying the exact value

Kirubha Samuel-OracleSep 30 2015 — edited Oct 5 2015

I have 3D stacked column chart with the below query in my application.

select null, upper(replace (substr (A.MANAGER_EMAIL,1,length(A.MANAGER_EMAIL) - length(substr(A.MANAGER_EMAIL,instr(A.MANAGER_EMAIL,'@',1)))),'.',' '))||'(%)' MANAGER_MAIL,

case WHEN NVL(:p30_lov1,:P30_CURRENT_YEAR||:P30_CURRENT_QUARTER) = :P30_CURRENT_YEAR||:P30_CURRENT_QUARTER THEN (((sum(A.CURRENT_QUARTER)) /((select count(distinct DEPARTMENT) from dashboard where upper(manager_email) = upper(A.manager_email))*100) )*100)

WHEN :p30\_lov1 = :P30\_PREVIOUS\_YEAR1||:P30\_PREVIOUS\_QUARTER1 THEN (((sum(A.PREVIOUS\_QUARTER1))/((select count(distinct DEPARTMENT) from dashboard where upper(manager\_email) = upper(A.manager\_email))\*100))\*100)

WHEN :p30\_lov1 = :P30\_PREVIOUS\_YEAR2||:P30\_PREVIOUS\_QUARTER2 THEN (((sum(A.PREVIOUS\_QUARTER2))/((select count(distinct DEPARTMENT) from dashboard where upper(manager\_email) = upper(A.manager\_email))\*100))\*100)

WHEN :p30\_lov1 = :P30\_PREVIOUS\_YEAR3||:P30\_PREVIOUS\_QUARTER3 THEN (((sum(A.PREVIOUS\_QUARTER3))/((select count(distinct DEPARTMENT) from dashboard where upper(manager\_email) = upper(A.manager\_email))\*100))\*100) end as count

from DASHBOARD A

where upper(director_email) = upper(:P30_CURRENT_EMAIL)

and metric = 'Eligible vs Actual as %'

group by manager_email;

As we clearly see here i am calculation percentage. When i am using 3D stacked column chart it displays the chart properly as below.

3D_Stacked_Column_Chart.PNG

Since user wants to display the value as percentage, i have changed the chart type to 3D Stacked column - percent chart type. But its not displaying the calculated value. Please check the image below

3D_stacked_column_percent.PNG

Whats wrong here? My query or the chart design.. Why it is showing 100% instead the actual 14%. I am stuck here trying multiple options but couldn't get any answer to my issue.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 2 2015
Added on Sep 30 2015
3 comments
115 views