Skip to Content
author's profile photo Former Member
Former Member

Formatting Colours of a Cross Tab

Hi,

I am trying to format my cross tab as ddetailed below i.e. the colurs. The problem I have is that i can format the label 1 and label 2 to blue. If i apply a colour to the "Jan - Cat 1", "Variance Cat 2 & Cat 1 (Jan)" etc... row it makes all the values below it blue as well.

Any ideas on what I am doing wrong? In the standard styles it does show styles where the headers are colured.

Thanks,

cross tab.JPG (13.7 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on May 23, 2013 at 08:49 AM

    Hi,

    So what happens is all the measures get coloured as well? This is when I select in the Cross Tab Expert > Customize Style -> Background Color = blue for the row just above the measures (the one starts with JAN - Cat 1)

    Thanks for your responses. Graham I have explained a bit more what I am doing which is different to your explanation, however, if i do use highlight expert I can colour the rows above the measures. I would expect to do it via Cross tab expert as detailed above though?

    Cheers


    Add a comment
    10|10000 characters needed characters exceeded

    • Ok. I see what you're trying to do.

      When you use the 'Customize style' to color a Row/Column of the Crosstab, the color is applied to all the rows/columns. Meaning, it passes on the colors to the Summaries as well.

      To be able to just color the Row/Column, right-click the Row/Column and Format Field > Border Tab > and choose the background color.

      You might observe that color does not apply to the entire cell, instead it leaves some white space on all four sides of the cell. This is because each cell has margins. If you disable the cell margins, the color applies just to the cell.

      I replied to your other post on how to disable cell margins here:

      http://scn.sap.com/thread/3362972

      -Abhilash

  • Posted on May 22, 2013 at 04:32 PM

    Hi Leo,

    What do you mean it colors all the rows below it as well?

    -Abhilash

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 22, 2013 at 09:28 PM

    Hello Leo,

    Are you saying that if you apply a colour to the column headers then the row headers are coloured too?

    If so then we would need to know the version of CR and patch level you are at.

    If the issue is that when you apply a colour format to the "Jan - Cat 1" label that the "Variance Cat 2 & Cat 1 (Jan)" label is also coloured blue then that is to be expected as they are part of the same instance. If you want them to be seperate colours then you would need to conditionally format that label.

    For instance;

    If the first column was besed on Year and the second column level was based on month then the following formula would colour months in the first half the year blue and the second half teal

    if month(date(CurrentFieldValue)) > 6 then crteal else crblue

    Regards,

    Graham

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.