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 button colour o...
Power Apps
Unanswered

Change button colour on condition

(0) ShareShare
ReportReport
Posted on by 264

Hello everyone,

 

I have got 2 screen.

My condition is: if the 2nd screen button is clicked, the 1st screen colour should change and change in text.

 

my solution: Onselect by creating a variable and passing trough navigate function and add validate the variable fill function on the 1st screen

2nd screen formula:

Navigate(Home,ScreenTransition.Cover,{Label: DataCardValue21.Text, Shade:Color.Green});

 

Error: all the button in my gallery changes colour

1st screen fill formula: If(Shade=Green,Green,RGBA(164, 38, 44, 1))

 

p_doc_0-1643669726404.png

I only want one row to get updated. (I am also passing ID through the navigate function.)

I am not sure what am I doing wrong.

Any help is appreciated.

 

 

Categories:

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 381 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 340

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard