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 Platform Community / Forums / Power Apps / Change the color based...
Power Apps
Answered

Change the color based on the button output

(0) ShareShare
ReportReport
Posted on by

Hi Team,

 

I am have created a button where I have 2 slider (Price and Quantity) calculation mutlipled. eg 

Slider1.Value * Slider2.Value to get the out in the button. Now , How can I change the color of the button if the value increases $1000 then Red, Green
 
Sriku_0-1709287917222.png

 

 

 

Categories:
I have the same question (0)
  • Verified answer
    Yogesh Murugan Profile Picture
    447 Moderator on at

    Hi @Sriku 

    If(Slider1.Value * Slider2.Value > 1000, Color.Red, Color.Green)

     

    Try this code in Button Fill property 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 542 Most Valuable Professional

#2
Haque Profile Picture

Haque 206

#3
Kalathiya Profile Picture

Kalathiya 201 Super User 2026 Season 1

Last 30 days Overall leaderboard