Categories
- All Categories
- 4 Oracle Analytics Sharing Center
- 12 Oracle Analytics Lounge
- 189 Oracle Analytics News
- 41 Oracle Analytics Videos
- 15.4K Oracle Analytics Forums
- 5.9K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 65 Oracle Analytics Trainings
- 14 Oracle Analytics Data Visualizations 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