Oracle Analytics

Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture

OBIEE sort on measure in pivot table

431
Views
4
Comments
user4109719
user4109719 Rank 4 - Community Specialist
edited Aug 13, 2024 5:15PM in Oracle Analytics

I want to sort on the total of the measure in a pivot table. It is pivoting on a time attribute.

I created a column using the the rank function like this:

rank(sum( "Measures"."GP Amt"))

I put it in the first column of the table and also selected the sort ascending option on the column. It is not sorting correctly.


It seems to be sorting the numbers as characters but it's not even doing that consistently. The data type of the column is numeric. Using the cast function to make sure it's seen as numeric doesn't help either.

If I can get it to work I want to make the column invisible. Will it still sort on it then?

Comments