Skip to Content

Conditional Formatting no longer working on Crosstabq

I had values in cells on a crosstab report formatted with background colours based on values. I've modified the crosstab fields and re-applied the conditional format but NONE of my fields with display with any background colours or font colours. It was literally working 2 hours ago and now noting works.

If I place the identical field in the detail section and apply the exact same conditional formula, the colours appear so something is wrong with the crosstab.

Is there some setting that disables ALL conditional formatting?

I'm using Crystal Reports Designer 2016

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Best Answer
    Posted on Oct 24, 2018 at 05:38 PM

    Hi Mercedes,

    Please post the formatting formula here.

    Also, if possible, could you also post a screenshot of the crosstab?

    -Abhilash

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 24, 2018 at 05:53 PM

    Formula 1 applied to Group 3 that should be Green if value is true else yellow. No colour at all

    if {SG_ProjectStaffbyDate.JobStatus}='Open' then crGreen else crYellow

    Formula 2 for detail cell background colours. Clearly shows values are Con yet nothing working anymore.

    if {@State}='PreCon' then crYellow else if {@State}='Con' then crGreen else if {@State}='Post' then crPurple

    Attached is screenshot.


    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 24, 2018 at 07:38 PM

    Strange. I updated one value of one field in teh dtabase and now all of a sudden eveyrthing is working. Guess there was a null field somewhere.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 24, 2018 at 07:44 PM

    I spoke too soon. Now everything is green, even for the ones that don't equal that value. Attached clearly shows value Post yet it's showing value for Con.

    if {@State}='PreCon' then crYellow else

    if {@State}='Con' then crGreen else

    if {@State}='Post' then crPurple

    else crRed


    untitled.png (4.7 kB)
    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 24, 2018 at 08:05 PM

    Fantastic that worked thank you!

    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.