Translate

Friday, 2 December 2011

Shahed

OBIEE Dates in Descending order from RPD Column

When you have a date column and you want to sort it as Descending when picked in Answers but automatically from rpd.

1. Insert a new column in the BM Layer in Rpd using calculation below

-(1) *  CAST ( EVALUATE('TO_CHAR(%1,%2)' AS  CHARACTER ( 30 ), yourcolumn, 'YYYYMMDD') AS INTEGER )

yourcolumn is the column that you want to sort.

2. Once created goto the original column yourcolumn and set the sort order to the column you just created above.

Thats Its ...

Blog Archive

About Authors

Shahed Munir

Krishna Udathu

Shahed and Krishna are Oracle / Big Data Experts