Skip to Main Content

Analytics Software

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!

To_CHAR in OBIEE

user11049754Oct 21 2009 — edited Oct 22 2009
Hello All,

I have 2 tables variance_trend and monthly_variance.
Both tables have load_date column.

In variance_trend it is varchar in the format YYYYMM, in monthly_variance load_date is date data type.

I am trying to convert monthly_variance.load_date to YYYYMM.I can acheive this by going to data format and select custom format etc.

But the problem is here i am doing union between these two columns.

Its throwing me error because these 2 columns are inconsistent data types.(one is varchar another is date).

In sql i can use to_char(monthly_variance,'YYYYMM') function to acheive this.

How can i acheive this in OBIEE without creating any views in database.

Thanks in advance.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details