cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Georgetown15x
Helper I
Helper I

Issue with Conditional Formatting

Dear All,

 

I am total dummy with no programming background, your insights or solutions for the question below is highly appreciated.

First, I have a table called -  movement

Name (Type=Text)Notes (Type=Text)Online (Type= Yes/No)
ABCDeskOnline
XYZRestOffline

 

What I am trying to do is make the rectangle fill colour change to black when is Offline.

So I've put in the function below in the rectangle's fill column

If(ThisItem.IsSelected, RGBA(0,0,0,0.1), If(ThisItem.Online="Offline",Black,RGBA(0,0,0,0)))

 

Georgetown15x_0-1600818336496.png

 

And it seems the function is not right...Could someone please help? Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions
GarethPrisk
Super User II
Super User II

You mentioned Online was a Yes/No, or Boolean field - correct?

 

If(ThisItem.IsSelected, RGBA(0,0,0,0.1), If(ThisItem.Online,Black,RGBA(0,0,0,0)))

 

If the field is a Yes/No (Boolean, with a True/False as its actual value), then you can check it explicitly.

View solution in original post

2 REPLIES 2
GarethPrisk
Super User II
Super User II

You mentioned Online was a Yes/No, or Boolean field - correct?

 

If(ThisItem.IsSelected, RGBA(0,0,0,0.1), If(ThisItem.Online,Black,RGBA(0,0,0,0)))

 

If the field is a Yes/No (Boolean, with a True/False as its actual value), then you can check it explicitly.

View solution in original post

You are Legend!

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (68,170)