03-29-2023 10:16 AM - last edited on 05-23-2023 04:16 AM by JackLacava
Does anyone know how to format the object lookup cell in the cubeview? We currently have formatting on the cube view as follows.
If(IsRowNumberEven = True) Then
BackgroundColor = #FFFFFFFF, *white*
ExcelBackgroundColor = #FFFFFFFF,
Else
BackgroundColor = #FFCFF0FC, *blue*
ExcelBackgroundColor = #FFCFF0FC,
End If
If (RowName contains 'NoZebra') or (IsColHeader = true) then
BackgroundColor = #FFFFFFFF, *white*
ExcelBackgroundColor = #FFFFFFFF,
end if
In some of our reports we use IsRowNumberEven = False, but in this case I need the odd rows to be blue, but since it counts the column headers I don't know how to get around this.
Solved! Go to Solution.
03-30-2023 10:06 AM
BackgroundColor = #FFFFFFFF
if RowName <> '' then
If(IsRowNumberEven = True) then
BackgroundColor = #FFFFFFFF,
ExcelBackgroundColor = #FFFFFFFF,
Else
BackgroundColor = #FFCFF0FC,
ExcelBackgroundColor = #FFCFF0FC,
End If
If (RowName contains 'NoZebra') or (IsColHeader = true) then
BackgroundColor = #FFFFFFFF,
ExcelBackgroundColor = #FFFFFFFF,
end if
end if
03-30-2023 05:00 AM
I'm not sure I follow. The color of the object lookup cell is determined by the default header format:
03-30-2023 08:18 AM
Yes, the conditional formatting I have above that determines the alternating row format is in the default header format. I want that cell to be white, like the other column headers, but when I use IsColHeader = True it doesnt affect that cell and leaves it blue. I'm trying to find a way to format that specific cell to override the the alternating color formatting like I did with the column headers.
03-30-2023 10:06 AM
BackgroundColor = #FFFFFFFF
if RowName <> '' then
If(IsRowNumberEven = True) then
BackgroundColor = #FFFFFFFF,
ExcelBackgroundColor = #FFFFFFFF,
Else
BackgroundColor = #FFCFF0FC,
ExcelBackgroundColor = #FFCFF0FC,
End If
If (RowName contains 'NoZebra') or (IsColHeader = true) then
BackgroundColor = #FFFFFFFF,
ExcelBackgroundColor = #FFFFFFFF,
end if
end if
03-30-2023 10:16 AM
That worked, thank you so much!
03-30-2023 07:35 AM
Hey!
You can not change that. Onestream considers that the first row is actually the header. That means that odd are always the line with the headers.
Do you think you could use IsRowNumberEven = True instead?
03-30-2023 08:25 AM
Yes, we have it switched in other reports but in a few of our reports we need the first row of data to be white so all the odd rows need to be blue. I was hoping there was a way to directly reference that cell to format it, but it seems there isn't.