# Multiple text color on report

**URL:** <https://forum.inductiveautomation.com/t/multiple-text-color-on-report/24564>\
**Category:** Ignition\
**Created:** [May 1, 2019, 6:36pm UTC](https://forum.inductiveautomation.com/t/multiple-text-color-on-report/24564 "2019-05-01T18:36:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![leversole](https://avatars.discourse-cdn.com/v4/letter/l/db5fbb/32.png) [@leversole](https://forum.inductiveautomation.com/u/leversole)\
**Post date:** [May 1, 2019, 6:36pm UTC](https://forum.inductiveautomation.com/t/multiple-text-color-on-report/24564/1 "2019-05-01T18:36:43Z")

</div>

I am using a dynamic key (data key is SDDEV.SD) for text color on a report successfully using…

STDDEV.SD\>.3?“red”:“black”…

this works as expected, I want to add a third color and am struggling with the syntax

Trying various things like STDDEV.SD\>3.5? “yellow”:STDDEV.SD\>.5?“red”:“green”

Can this be done this way? is there a better way?

Thanks

---

<div class="post-metadata">

**Author:** ![bfuson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bfuson/32/4597_2.png) [@bfuson](https://forum.inductiveautomation.com/u/bfuson)\
**Post date:** [May 1, 2019, 7:15pm UTC](https://forum.inductiveautomation.com/t/multiple-text-color-on-report/24564/2 "2019-05-01T19:15:58Z")

</div>

The [docs](https://docs.inductiveautomation.com/display/DOC79/Keychain+Expressions) for Keychain expressions within the reporting system has a section on chaining conditionals.

Example they give:

`@age>=21?"Adult":(age>12?"Teen":"Child")@.`

---

<div class="post-metadata">

**Author:** ![leversole](https://avatars.discourse-cdn.com/v4/letter/l/db5fbb/32.png) [@leversole](https://forum.inductiveautomation.com/u/leversole)\
**Post date:** [May 1, 2019, 7:53pm UTC](https://forum.inductiveautomation.com/t/multiple-text-color-on-report/24564/3 "2019-05-01T19:53:42Z")

</div>

Thanks…found it…
