web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / AddColumns inflict to ...
Power Apps
Answered

AddColumns inflict to data gallery.selected

(0) ShareShare
ReportReport
Posted on 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:
  • Verified answer
    WarrenBelz Profile Picture
    156,570 Most Valuable Professional on at

    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

     

  • ML-18090909-0 Profile Picture
    31 on at

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

    LookUp(
       ActionTrackerDPL;
       Gallery1.Selected=ID
    )

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 382 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 329

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard