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 Automate / Syntax error with mult...
Power Automate
Unanswered

Syntax error with multiple If statements for color true/false

(0) ShareShare
ReportReport
Posted on by 83

I can sort this with something having multiple If statements for visible

Example: 
If (Title2_82.Text="Yes", true,false) +
If (Title2_83.Text="No", true,false) +
If (Title2_84.Text="No", true,false) +
If (Title2_85.Text="No", true,false)

But for some reason I cannot get this to work with color:

If (Title2_2.Text="Offline", RGBA(255, 255, 255, 1),RGBA(100, 100, 100, 1)) +
If (Title2_3.Text="Online", RGBA(0, 0, 0, 1),RGBA(100, 100, 100, 1))

I need to have multiple color conditions based on various Label conditions. Can someone help me sort my syntax error here?
Categories:
I have the same question (0)

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 Automate

#1
Haque Profile Picture

Haque 58

#2
David_MA Profile Picture

David_MA 53 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 36 Most Valuable Professional

Last 30 days Overall leaderboard