Categories
- All Categories
- Oracle Analytics and AI Learning Hub
- 36 Oracle Analytics and AI Sharing Center
- 20 Oracle Analytics and AI Lounge
- 274 Oracle Analytics and AI News
- 48 Oracle Analytics and AI Videos
- 16.2K Oracle Analytics and AI Forums
- 6.3K Oracle Analytics and AI Idea Labs
- Oracle Analytics and AI User Groups
- 101 Oracle Analytics and AI Trainings
- 16 Oracle Analytics and AI Challenge
- Find Partners
- For Partners
OBIEE 12c How can I alternate colors between 'groups' of rows?
Answers
-
-
Thank you Gianni. Yes I know about conditional formatting and "Enable alternate styling".
The Records IDs will not be sequential, first group of Record IDs may be 31456, 2nd group 31499, and 3rd group 31809, as an example.
If they were sequential, it would be easier to do the coloring via conditional formatting....
0 -
You could try to cheat with a ranking function on the Record IDs and use that as condition? Same Record IDs is supposed to have the same ranking, and it always start with 1.
0 -
Thank you. Got it to work with ranking.
0 -
on second thought, maybe I didn't get it working

I do a rank(cast( pongo_id as integer)) in my column formula.
And this is the output. Confused as to why it goes from 1 to 9, then from 9 to 17, and so on ?!?
I would expect the id to be 2 where Pongo ID = 67473, and id to be 3 where Pongo ID = 67472.
Any more help is appreciated.
0 -
Damn, I forgot that RANK is a RANK and not a DENSE_RANK.
Dirty fix: use EVALUATE? If your source is a database, it must have a function doing ranking without skipping values in case of multiple with same ranking. That's what DENSE_RANK does in an Oracle Database.
0 -
Thank you for your help. I will give this a try.
0



