cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper I
Helper I

Traffic light

Hi peeps

I have a box that returns a value on selecting a button - (does a calculation)

And this calculation returns a number from 0 to 21

I would like a separate circle shape or box to shade a colour depending on the value of this other box. Example
If 13 and above the shape goes red
If between 7 and 12 goes amber
Below 7 goes green

How do i achieve this ?
1 ACCEPTED SOLUTION

Accepted Solutions
Super User II
Super User II

Hi @bongobus1,

Put a circle icon on the screen and size it.  If your box is named Textinput1, then select the icon and set the Fill property to

If(Value(TextInput1.Text) <7, Green,Value(TextInput1.Text)>12,Red,Yellow)

The Circle will change color instantly depending on the value in the Textinput control.

View solution in original post

2 REPLIES 2
Super User II
Super User II

Hi @bongobus1,

Put a circle icon on the screen and size it.  If your box is named Textinput1, then select the icon and set the Fill property to

If(Value(TextInput1.Text) <7, Green,Value(TextInput1.Text)>12,Red,Yellow)

The Circle will change color instantly depending on the value in the Textinput control.

View solution in original post

@bongobus1,

if this answers your question, please mark the thread as solved.

Helpful resources

Announcements
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (6,970)