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!

Chronological order is lost when 2 series on a graph

Christian PitetSep 30 2019 — edited Oct 1 2019

Hi,

I have a page with a graph type bar. It has two series on it. If I dispaly only one serie, the data is dispalyed in chronological order as the request indicates it :

select count(*),

to_char(trunc(date_fin_travail, 'MM'),'MON YYYY') "dATTE"

from dt_informatique

where travail_termine is not null and date_fin_travail is not null

and UPPER(prise_en_charge) = 'NAME1@COMPANY.FR'

group by prise_en_charge, trunc(date_fin_travail, 'MM')

order by trunc(date_fin_travail, 'MM')

Snap 2019-09-30 at 11.52.24.png

So far so good. if I had a seconde serie like that, the chonological order is lost :

select count(*),

to_char(trunc(date_fin_travail, 'MM'),'MON YYYY') "dATTE2"

from dt_informatique

where travail_termine is not null and date_fin_travail is not null

and UPPER(prise_en_charge) = 'NAME2'

group by prise_en_charge, trunc(date_fin_travail, 'MM')

order by trunc(date_fin_travail, 'MM')

Snap 2019-09-30 at 11.53.48.png

I am using APEX 19.2.

Regards.

This post has been answered by Hilary Farrell-Oracle on Sep 30 2019
Jump to Answer
Comments
Post Details
Added on Sep 30 2019
5 comments
90 views