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 / PowerApps opening wron...
Power Apps
Answered

PowerApps opening wrong list item from SharePoint

(1) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,

When I am selecting from a SharePoint list to edit an item, Powerapps will always open the top item of the SharePoint list.

 

Any way to fix this?

 

Craig

Categories:
I have the same question (0)
  • Jeff_Thorpe Profile Picture
    6,085 Super User 2024 Season 1 on at

    Did you generate the PowerApp from the SPList to get started or are you creating from a blank PowerApp and adding the SPList to the app? I ask because the PowerApps generated SPList app wires everything up for you and I have never experience an issue with the selected item not working as expected.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi Jeff,

     

    I generated it from the SP list itself. I've done it this way a couple of times myself with no issue. 

    I've had a read online and there is not much to go by apart from perhaps the 'Item' field picking up the wrong field?

     

    Thanks

     

    Craig

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Can anyone advise what my settings should look like perhaps on the SharePoint Integration page to cater for this?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @audrieg @v-micsh-msft @v-monli-msft @Meneghino Can any of you advise on how to link PowerApps to a selected SharePoint list field please? My app is currently only every loading the very first SharePoint list item.

     

    Thanks

  • Meneghino Profile Picture
    6,949 on at
    Hi @Anonymous, it would seem that the issue is with the Item property of whatever is opening when you select an item. Could you please share the OnSelect property of the gallery/item selector and then also the closest thing to the item property of the object that should display your item?
  • Verified answer
    navPowerApps Profile Picture
    11 on at

    Hi,

    I had faced similar kinda issue in my powerapps. I have tried aplying the below Rule as workaround,

     

    If(IsBlank(SharePointIntegration.SelectedListItemID) || IsEmpty(SharePointIntegration.SelectedListItemID),First('[DataSource]'),First(Filter('[DataSource]',ID=SharePointIntegration.SelectedListItemID)))

     

    After applying the Rule it started working for me. 

     

  • SriHariBabu Profile Picture
    2 on at

    Thanks for the fix. After applying condition in form >> advanced properties, it worked for me.

  • jb007 Profile Picture
    49 on at

    This issue has just arisen for me as well. Can you advise where you loaded the condition

  • Bestebreurtje Profile Picture
    37 on at

    Did you get any response where to set this condition ?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thank you @SriHariBabu @navPowerApps @Jeff_Thorpe ! 

    I had the same issue - it works fine in PowerApps, but if someone clicks to edit an item from the SharePoint List, it just opens the last item clicked on in the power app. 

    Example of the powerapp form screen that is pulled up when I select an item: 

    sarahsim_0-1674841421284.png

     

    As you can see, it is not the item I have selected in the SharePoint list itself. 

    However, if I click edit from the PowerApps pane that opens, it brings me to the correct item: 

    sarahsim_2-1674841640031.png

     


     

    sarahsim_3-1674841685105.png

     

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!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 85

#2
WarrenBelz Profile Picture

WarrenBelz 76 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 38 Super User 2026 Season 1

Last 30 days Overall leaderboard