Categories
- All Categories
- 15 Oracle Analytics Sharing Center
- 15 Oracle Analytics Lounge
- 214 Oracle Analytics News
- 42 Oracle Analytics Videos
- 15.7K Oracle Analytics Forums
- 6.1K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 78 Oracle Analytics Trainings
- 14 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
Pivot Table Sorting Issue

Hi All.
We are in the process of migrating from 11g to 12c (12.2.1.2.0 (Build BIPS-20160923092103 64-bit)).
One of the issues we came across in 12c is pivot table sorting does not behave the same way as in 11g. It does not seem to be a new feature.
Please see the figures below-
11g 12c
==== ====
So, in 11g you can see the values are sorted the way they should be, descending order on the second column (201610) Whereas, in 12c, same query, once column is (201610) sorted in descending order, values starts from null and then notice the largest number appears much later (2,946,298).
We verified the SQL generated, but it seems the sorting happens only on the front end. So, not much help with the SQL.
Anyone any idea?
Thanks
Answers
-
Is your NQSConfig.ini using NULL_VALUES_SORT_FIRST=ON; on 12? Or it was changed in the DB Deatures in the RPD?
0 -
Thanks for your response. I checked both, NULL_VALUES_SORT_FIRST=OFF and DB feature is unchecked. Still the same problem.
0 -
Ok are your LOCALE, SORT_ORDER_LOCALE and SORT_TYPE settings also the same as in the ini from 11?
0 -
This what I found in both-
LOCALE = "english-usa";
SORT_ORDER_LOCALE = "english-usa";
SORT_TYPE = "binary";
Surprisingly, NULL_VALUES_SORT_FIRST=ON on 11g!!!
0 -
Hmmm 12 seems to always sort nulls first in spite of either parameter. Maybe raise an SR.
0 -
What is more interesting is that sorting in ascending order seems confusing too as it shows 0 as the least number and not null.
An SR is definitely on it's way...
Thanks
0 -
You gotta admit: sorting is haaaaard to get right as a functionality :-P
0