Skip to main content
Community site session details

Community site session details

Session Id : DJCUV/Up5t6DBsS6DjTjR9
Power Apps - Building Power Apps
Answered

AddColumns inflict to data gallery.selected

Like (0) ShareShare
ReportReport
Posted on 15 Feb 2024 11:38:37 by 31

To manage my gallery I use formuka like this:

Search(SortByColumns(AddColumns(ActionTrackerDPL;"User";'Created By'.DisplayName;"User2";'ActionDriver'.DisplayName;"User3";'AreaManager'.DisplayName;"Obsar";Department.Value);"Prio_x0020_to_x0020_number";SortOrder.Descending);TextInput1.Text;"User";"User2";"User3";"Obsar")

The AddColumns gave my posibility to use text box to search column with person.

 

Then in diffrent screen i present more data connected to item using EditForm and gallery.selected. Without AddColumn formula everythink works good, but with is error. 

 

I know that AddColumns chcange DataSource but do u have any idea who to fix it? Or maybe use diffrent formula to use search with person column

Categories:
  • ML-18090909-0 Profile Picture
    31 on 15 Feb 2024 at 11:51:43
    Re: AddColumns inflict to data gallery.selected

    Thanks verymuch 🙂 To be honest I tried with lookup but U put somethink like that :

    LookUp(
       ActionTrackerDPL;
       Gallery1.Selected=ID
    )
  • Verified answer
    WarrenBelz Profile Picture
    148,833 Most Valuable Professional on 15 Feb 2024 at 11:48:30
    Re: AddColumns inflict to data gallery.selected

    Hi @Nacked ,

    Change the Items of your Form to

    LookUp(
     ActionTrackerDPL;
     ID = GalleryName.Selected.ID
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

     

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 2

Loading complete