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 / Different colours in b...
Power Apps
Answered

Different colours in browse gallery

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi, I would like to change the colour of the words in my browse gallery but I am unable to do so. I have attached a picture of my APP and the formula I am using for the browse gallery is:

 

Sort(Filter('New Input', FilterTextBox.Text in 'Module (PMD):'.Value & 'Module (SMD Cell 1 Line A):'.Value & 'Module (SMD Cell 1 Line B):'.Value & 'Module (SMD Cell 2 Line A):'.Value & 'Module (SMD Cell 2 Line B):'.Value & 'Module (FMD):'.Value), Status_x0020_of_x0020_Defect_x00.Value, Descending) 

 

I would like to do it such that when the status of defect is "Open 未解决", the colour of the specific gallery is red and while the status of defect is "Closed 已解决", the colour of the specific gallery is green. 

 

I have tried adding the formula 

 

If(Status_x0020_of_x0020_Defect_x00.Value = "Open 未解决", Color.Red, Color.Green)

But I keep encountering errors. Also, I tried to add this formula using a semicolon but the system keeps showing the error of "Expected Operator".

 

Can anyone help me with this please?

 

Thank you!

 

APP.JPG
Categories:
I have the same question (0)
  • Verified answer
    v-yuxima-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

     

    Do you want the Open to show Red and Closed to show Green?

    If you want change the text’s color,you can try this:choose the text and its Color: If(ThisItem.Status = "Open",Red,Green)

     

    20190215textcolorapptest.jpg

     

    Hope this can be helpful.

    Best Regards.

    Yumia

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi, thank you very much! 

     

    This works perfectly! 🙂

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 329 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 179

Last 30 days Overall leaderboard