cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
stumac_31
Advocate II
Advocate II

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
v-monli-msft
Community Support
Community Support

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

6 REPLIES 6
Anonymous
Not applicable

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

v-monli-msft
Community Support
Community Support

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.

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.

MissyLLane
Frequent Visitor

I have the same issue.  Was their a solution that doesn't require changing the source and rebuilding the form?

I duplicated the screen and it automatically resolved the issue.  That was after hours of thinking I had it set wrong, taking out and rebuilding the form and the gallery individually.  Eh...

I can't believe it. I'm searching for answers for about 5 hours and nothing worked. So I tried this.

It worked. 

 

**bleep** logic. 

 

Thanks

Helpful resources

Announcements
October Events

Mark Your Calendars

So many events that are happening this month - don't miss out!

Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

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