web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Apps
Answered

fill property

(0) ShareShare
ReportReport
Posted on by 3,295

Hi there,

quick question here:

 

I have a label and the value of that label could be between 0-50

I would like to insert a circle and change the fill property of that circle as:

 

if label is equal to "0" and iqual or less than "35" Color Green

if label is equal to "36" and iqual or less than "45" Color Yellow

if label is equal to "46" and iqual or less than "50" Color Red

 

 

Any help or a better approach?

 

thank you kindly

Categories:
  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @sajarac 

    Sure thing...set the Fill property of the circle to the following formula:

     

    With({lblVal: Value(yourLabel.Text)},
     If(lblVal <= 35, Green,
     lblVal <= 45, Yellow,
     lblVal <= 50, Red
     )
    )

     

    That should give you what you need.

     

    I hope this is helpful for you.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 258

#3
Mohsin Ali Profile Picture

Mohsin Ali 231

Last 30 days Overall leaderboard