# Reporting Module 7.8.0: showing dynamic LEDs

**URL:** <https://forum.inductiveautomation.com/t/reporting-module-7-8-0-showing-dynamic-leds/10712>\
**Category:** General Discussion\
**Created:** [November 2, 2015, 11:05am UTC](https://forum.inductiveautomation.com/t/reporting-module-7-8-0-showing-dynamic-leds/10712 "2015-11-02T11:05:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pgmo](https://avatars.discourse-cdn.com/v4/letter/p/d07c76/32.png) [@pgmo](https://forum.inductiveautomation.com/u/pgmo)\
**Post date:** [November 2, 2015, 11:05am UTC](https://forum.inductiveautomation.com/t/reporting-module-7-8-0-showing-dynamic-leds/10712/1 "2015-11-02T11:05:21Z")

</div>

I have a report like that in the following screenshot:  
 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/c/c361e4074ffa75cab8b205d1b0b05f296f633905.JPG)  
  
The Enabled column should show OFF/ON strings instead of 0/1 and gray/green LED bitmap or circles (if bitmaps are not allowed) on the right.  
How can I accomplish that?

---

<div class="post-metadata">

**Author:** ![KathyApplebaum](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kathyapplebaum/32/7261_2.png) [@KathyApplebaum](https://forum.inductiveautomation.com/u/KathyApplebaum)\
**Post date:** [November 2, 2015, 3:41pm UTC](https://forum.inductiveautomation.com/t/reporting-module-7-8-0-showing-dynamic-leds/10712/2 "2015-11-02T15:41:31Z")

</div>

For the Enabled column, you can use a keychain expression along the lines of @Enabled == 1? “ON”:“OFF”@ as the text. For the LED circles, try binding the fill color to an expression. Let me know if you need instructions on how to do that.

---

<div class="post-metadata">

**Author:** ![pgmo](https://avatars.discourse-cdn.com/v4/letter/p/d07c76/32.png) [@pgmo](https://forum.inductiveautomation.com/u/pgmo)\
**Post date:** [November 2, 2015, 3:58pm UTC](https://forum.inductiveautomation.com/t/reporting-module-7-8-0-showing-dynamic-leds/10712/3 "2015-11-02T15:58:35Z")

</div>

Thank you KathyApplebaum. As far as the ON/OFF label, I managed to follow your suggestion and it works pretty good. As for the ellipse fill color unfortunately no success. What I did is to draw an ellipse in a cell of the table beside the Enabled cell and to dynamize the fill color with the following expression:

![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/0/0b14bfcd20c1b51716a189c13bd8747e109c4367.JPG)

What I get, is one ellipse per row, but all are white filled.  
What am I doing wrong?

Thank you in advance  
regards

---

<div class="post-metadata">

**Author:** ![KathyApplebaum](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kathyapplebaum/32/7261_2.png) [@KathyApplebaum](https://forum.inductiveautomation.com/u/KathyApplebaum)\
**Post date:** [November 2, 2015, 4:48pm UTC](https://forum.inductiveautomation.com/t/reporting-module-7-8-0-showing-dynamic-leds/10712/4 "2015-11-02T16:48:46Z")

</div>

The report properties don’t understand scripting functions directly. They evaluate data keys, which come from your parameters and data sources. So you need to make a parameter for your colors.

You could certainly make a script data source for your colors, but I find it easier to make a parameter for each color and use an expression. So I have a parameter named Red, which is of type String. Its default value is `toColor("red")` I have a similar parameter for Blue, etc.

Then my binding for the fill color could be `Enabled==0?Red:Blue`
