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 III
Super User III

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 III
Super User III

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

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

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (9,321)