cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
stumac_31
Level: Powered On

Invalid formula. Expected a value compatible with 'DataSource'

Dear all

 

Coming back to this after a couple of months, my app is no longer working. 

On my editscreen I have an error I can't figure out as it does not seem to be related to a data card/source.

It seems to the page as a whole but I cant work out what it is

 

The command bar has the instruction: BrowseGallery1.Selected

The error message is 'Invalid formula. Expected a value compatible with 'DataSource'.

See attached picture

 

I recently added a new screen, but cannot see how this is connected.

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Invalid formula. Expected a value compatible with 'DataSource'

Hi @stumac_31,

 

Please try to remove the data source and readd it again. If this still does not solve the issue, please try to create a new app the test.

 

In addition, what is the data source and what is the related formulas?

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Re: Invalid formula. Expected a value compatible with 'DataSource'

Are the data sources for the Gallery and the EditForm the same?

Community Support Team
Community Support Team

Re: Invalid formula. Expected a value compatible with 'DataSource'

Hi @stumac_31,

 

Please try to remove the data source and readd it again. If this still does not solve the issue, please try to create a new app the test.

 

In addition, what is the data source and what is the related formulas?

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

akharns
Level 8

Re: Invalid formula. Expected a value compatible with 'DataSource'

Is it possible to remove and re-add the data source without rebuilding the entire application?  That sounds like a very impactful recover step.  So many objects are tied directly to data elements in the data source.

Helpful resources

Announcements
Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Join THE global Microsoft Power Platform event series

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Microsoft Business Applications Virtual Launch

Join us for the Microsoft Business Applications Virtual Launch Event on Thursday, April 2, 2020, at 8:00 AM PST.

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (4,364)