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 / Gallery and Edit Form
Power Apps
Answered

Gallery and Edit Form

(0) ShareShare
ReportReport
Posted on by 472

Edit form is having some issues now, does not matter what you put into the Edit Form Item property, - Gallery.Selected, Gallery.Selected.Id etc... always produces the same error.
Invalid Formula: Expected a value compatible with 'DataSource'. ?

 

Not sure why this one posted but this is no longer relevant

 

My follow up reply is on my original post - https://powerusers.microsoft.com/t5/PowerApps-Forum/Populate-Edit-Form-from-Gallery-Selection/m-p/45004#M18772

Categories:
I have the same question (0)
  • CU11011415-0 Profile Picture
    472 on at

    Edit form is having some issues now, does not matter what you put into the Edit Form Item property, - Gallery.Selected, Gallery.Selected.Id etc... always produces the same error.
    Invalid Formula: Expected a value compatible with 'DataSource'. ?

    Ok a new version of PowerApps was just released, this seems to be fixed now.

     

    By the way the new Interface looks great. well done!

  • v-micsh-msft Profile Picture
    Microsoft Employee on at

    Hi @KC,

     

    I saw you shared that 

    "

    Ok a new version of PowerApps was just released, this seems to be fixed now.

    "

    So there is no issues working with the Editform control by now?

    The error message you posted should mean the the record specified under the item property does not match the record type defined for the Data source, which is added under the Data source property of the EditForm control.

    For more information about the EditFrom control, please check:

    Edit from and Display form controls in PowerApps

     

    Regards,

    Michael

  • Verified answer
    CU11011415-0 Profile Picture
    472 on at

    Hi Michael,

    Correct, the issue is fixed now with the new version of the PowerApps Editor.

    Thank you

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I am having this exact same issue in PowerApps Web Editor - there is no new version of the web editor, so I'm not sure how to fix this. In my case, the form should display the selected item in from a gallery whose data source is a Collection I created. But on the form, there is no option to selection a Collection as the data source for a form.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I too am having this problem. I think that collections are an invalid data source for an EditForm, but I can't find a useful work around? 

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
WarrenBelz Profile Picture

WarrenBelz 529 Most Valuable Professional

#2
Haque Profile Picture

Haque 230

#3
Kalathiya Profile Picture

Kalathiya 217 Super User 2026 Season 1

Last 30 days Overall leaderboard