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 / Set label after pressi...
Power Apps
Unanswered

Set label after pressing button

(0) ShareShare
ReportReport
Posted on by

Hi, I can't figure out where the problem is. I have a button in the gallery. I would like the text of the "Room" column to jump to the label after pressing it

 

Set('Wybrane piętro'; ThisItem.Pokój)

Wybrane piętro = label name

Pokój = Room

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

    @pablik01 Set is used to declare a Global Variable. You can't set text to Labels directly. Instead, you can use the value of the Global Variable in the Text property of the Label to set the value.

    In the OnSelect of the Button,

    Set(varWybranepiętro; ThisItem.Pokój)

    In the Text property of the Label,

    varWybranepiętro

     

    Please remember to give a 👍 and accept my solution as it will help others in the future.

  • pablik01 Profile Picture
    on at

    Thank you

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 333 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard