web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Replace True/False wit...
Power Apps
Answered

Replace True/False with Yes/No and Add Column Name

(0) ShareShare
ReportReport
Posted on by 42

Hi Power Apps community, 

 

I have added a label within my gallery that identifies which customers have already been surveyed this financial year. However, this label comes up with true/false and I would like to replace this with yes/no. I would also like to include the column name 'Previously surveyed for FY23' before the 'yes'/'no' e.g. 'Previously surveyed for FY23: Yes'

 

Lastly, is it possible to have all of the 'no' rows in a red text so that they know that they cannot choose these customers. 

 

I currently have the code within gallery 'Items': 

 

ThisItem.'Previously Surveyed in FY23'

 

 

Thanks in advance!

 

Categories:
I have the same question (0)
  • Verified answer
    Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @sarahmahony 

    Text property of label

    "Previously surveyed for FY23: "& 

    If(ThisItem.'Previously surveyed for FY23',"Yes","No")

     

    For the color property,

    If(ThisItem.'Previously surveyed for FY23', Red, Black)

  • sarahmahony Profile Picture
    42 on at

    @Drrickryp thank you so much, you're a lifesaver!

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @sarahmahony 

    Yep, that's my day job.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard