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 / Dropdown change in Gal...
Power Apps
Unanswered

Dropdown change in Gallery Changes all items in Gallery

(1) ShareShare
ReportReport
Posted on by

Hi All, 

I have a gallery DD where when I change the DD in the first row, it changes any items that have not already been manually changed to that same value. I do have a patch on change that I have included below. Any help would be appreciated

Before

before.png

After

after.png

 

Patch(Jedi_tbl_Milestones,ThisItem,{milestone_name: TXT_Milestones.Text,first_define:DP_First_Define.SelectedDate,last_approved_contract:DP_Latest_Approved.SelectedDate,projected_completion: DP_Project_Completion.SelectedDate,actual_completion:DP_Actual_Completion.SelectedDate,cause_of_delay:DD_Cause_For_Delay.Selected.Value,milestone_status:DD_Status_.Selected.Value,comment:TXT_Comment.Text,idProject:Gallery1.Selected.idproject})

 

@WarrenBelz any idea>?

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    154,908 Most Valuable Professional on at

    Hi @apirez ,

    I cannot test this currently, but try - I am assuming you are using SharePoint here and have the record ID in the gallery content.

    Patch(
     Jedi_tbl_Milestones,
     ForAll(
     Filter(
     GalleryName.AllItems As aGal,
     !IsBlank(aGal.DD_Status_.Selected.Value)
     ),
     {
     ID: aGal.ID,
     milestone_status: DD_Status_.Selected.Value
     }
     )
    )

     

    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

     

  • apirez Profile Picture
    on at

    Im using Dataverse...not sure if that changes anything

  • WarrenBelz Profile Picture
    154,908 Most Valuable Professional on at

    @apirez ,

    Try using your unique record identifier instead of ID - I am not a Dataverse user, but if that does not work, I will give you the "long way" version - I will need the name of your identifier.

     

    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

  • JE-23101457-0 Profile Picture
    2 on at

    This post is a year+ old but I had this seems to be the only post that has the exact same problem I did. I ended up fixing it by setting the Default property as a Text value; I guess it has something to do with ThisItem's context being shared but to be honest I'm not really sure. Regardless, keep your Patch function as is and just change the dropdowns default property:

    Default = Text(ThisItem.Permissions.Value)

    Worked for me at least good luck.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 528

#2
WarrenBelz Profile Picture

WarrenBelz 426 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 306

Last 30 days Overall leaderboard