Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
8 years ago
Solved

Conditional Formatting on %

Hi, 

 

I'm trying to put some conditional formatting on %s in a matrix table, but it doesn't seem to be working...

 

any ideas?

 

Thank you!

 

Sonia

12 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    What data formats are the percentages? Have you tried creating a measure to display the information?  I've had troubles in the past with Conditional Formatting which all resolved when i created a measure to do display the information.

    • Anonymous's avatar
      Anonymous
      Not applicable

      hi Anonymous, 

       

      Thanks for your response!

       

      I tried creating new calculated columns to get the %, but it still doesn't seem to be working. 

       

      It's strange, because I've managed to do exactly the same thing before... 

      • Anonymous's avatar
        Anonymous
        Not applicable

        Correct, calculated columns would produce the same issue.  Measures are different but can be used to create a similar outcome for the purpose of a visual.

         

        Measures are context sensitive, so you could write a measure to simply take the first value in a column (Text) or for a Max value of a number.  If the context of your visual is such that you are getting 1 value per line anyway, the measures context will only ever be that single value.  Thus the measure will provide you with the same result, but the conditional formatting seems to be kept happier.