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 Apps
Answered

Button Text

(0) ShareShare
ReportReport
Posted on by 779

Hello Everyone,

 

I have a button in a gallery and I am trying to changes the Text of the button depending if the current user(Judge) name appears in the concatenated field in the gallery. 

I want text to say "Pending" when the name doesn't appear there and "Completed" when the name appears in the concatenated field.

 

I use the formula below to concatenate the names.

Concat( Filter( SPList, Nominee = ThisItem.Nominee && Nominator = ThisItem.Nominator && Category.Value = ThisItem.Category.Value ), If( IsBlank(Judge) || Len(Trim(Judge)) = 0, "", Judge & ";" ) )

 

 

I hope this possible to do. Any help is appreciated.

 

@WarrenBelz   @ANB   @mmbr1606   @Amik   @timl

I have the same question (0)
  • Verified answer
    EricRegnier Profile Picture
    8,720 Most Valuable Professional on at

    Hi @Caleb62881177,

    If I understand correctly, you want to show "Pending" when the name doesn't appear in another concatenation label  and "Completed" if it does. The expression would look something like this:

    If(ThisItem.Name in ConcatLabel.Text, "Completed", "Pending")

    Hope this helps!

     

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 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard