Skip to main content

Notifications

Community site session details

Community site session details

Session Id : 9hR+eOrdap8Ib30kvPIGHx
Power Apps - Building Power Apps
Answered

Concat items in gallery

Like (0) ShareShare
ReportReport
Posted on 21 Jun 2024 09:04:53 by 205

Hi all,

 

Trying to concat items in my gallery using the below formula but the value of my variable and result of the formula is very different (TextInput8.Text is blank even though it is not in the gallery). Any help would be much appreciated

Set(prevAction,Concat(Gallery12.AllItems,Label39.Text &": " &TextInput8.Text,Char(13)))

 

ccqn_0-1718960608609.png

ccqn_1-1718960628233.png

 

Categories:
  • Verified answer
    ccqn Profile Picture
    205 on 24 Jun 2024 at 00:42:32
    Re: Concat items in gallery

    Think there was a problem because my gallery was in a form hence the concat formula didn't work. What I did to work around it was to create a button in the same gallery with the same formula and set the onChange property of the textbox to select the button. 

  • ccqn Profile Picture
    205 on 21 Jun 2024 at 09:31:29
    Re: Concat items in gallery

    hi @mmbr1606 ,

    I get Item: Item: insted

  • mmbr1606 Profile Picture
    12,260 Super User 2025 Season 1 on 21 Jun 2024 at 09:08:03
    Re: Concat items in gallery

    hey @ccqn 

     

    can u try this:

    Set(prevAction, Concat(Gallery12.AllItems, "Item: " & TextInput8.Text, Char(13)))
    

     

    Let me know if my answer helped solving your issue.

    If it did please accept as solution and give it a thumbs up so we can help others in the community.



    Greetings

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Building Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 89 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 58

#3
Michael E. Gernaey Profile Picture

Michael E. Gernaey 42 Super User 2025 Season 1

Overall leaderboard
Loading started