Categories
- All Categories
- Oracle Analytics and AI Learning Hub
- 34 Oracle Analytics and AI Sharing Center
- 22 Oracle Analytics and AI Lounge
- 276 Oracle Analytics and AI News
- 47 Oracle Analytics and AI Videos
- 16.1K Oracle Analytics and AI Forums
- 6.3K Oracle Analytics and AI Idea Labs
- Oracle Analytics and AI User Groups
- 99 Oracle Analytics and AI Trainings
- 16 Oracle Analytics and AI Challenge
- Find Partners
- For Partners
Using 'R' Analytic Functions - Does not work with MMM-YY format varchar fields
This is not a question. It is an observation that may help others.
I have created this analysis in my custom OBIEE system. The formula for the Trend column is: TRENDLINE("Facts"."Sales", ("Times"."Year","Time"."YYYY-MM"), 'LINEAR', 'VALUE')

Next, I simply added my "Times"."Month" column, which displays in the format MMM-YY. Adding that column causes the Trend formula to return nothing.

I wasn't really surprised that the TRENDLINE function required columns (which, in this case, and also in Sample Sales Lite, are varchar) that could be sorted in chronological order such as YYYY-MM. However, I was very surprised that simply adding another column to the analysis would break the TRENDLINE function.
Just thought I'd share this in case anyone else ran across the same type of problem.