Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

Reset concat (text) when click on Back button

(0) ShareShare
ReportReport
Posted on by

Hi all,

 

Could you please teach me how to reset concat (text) when click on Back button?

kinghnvn_0-1637296995410.png

 

Thanks.

 

Categories:
  • kinghnvn Profile Picture
    on at
    Re: Reset concat (text) when click on Back button

    Yes, thanks. then I will check again

  • CU-18081211-6 Profile Picture
    9,266 Super User 2025 Season 1 on at
    Re: Reset concat (text) when click on Back button

    There is a bracket missing on If clause formula. I'll correct my previous post.

  • kinghnvn Profile Picture
    on at
    Re: Reset concat (text) when click on Back button

    Thanks. I have just tried but it's empty selected desk.

     

  • Verified answer
    CU-18081211-6 Profile Picture
    9,266 Super User 2025 Season 1 on at
    Re: Reset concat (text) when click on Back button

    @kinghnvn ,

    You cannot reset the concat() function result unless you empty the collection selectedDesks.

    If you don't want that you can use a context variable emptyMyLblDesk in OnSelect property of the Back Button:

     

     

    UpdateContext({emptyMyLblDesk:true})

     

     

     set the Text property of the LblDesk control to:

     

     

    if(emptyMyLblDesk,Blank(),Concat(selectedDesks,Title&", "))

     

     

    and OnVisible property of the screen change the emptyMyLblDesk value to false:

     

     

    UpdateContext({emptyMyLblDesk:false})

     

     

    Hope it 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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,587 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,928 Most Valuable Professional

Leaderboard