cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SheltonThompson
Frequent Visitor

SQL Server DataSource and ItemSelected

Hello

 

I have a gallery list which connects to a SQL Database. In the gallery I had a button which the OnSelect actions are as follows

 

Set(ItemSelected,ThisItem);
Navigate(IssueManagement,ScreenTransition.Fade)

 

On the IssueManagement Screen there is a edit form where the data source is teh same SQL table and the item is set to "ItemSelected." This was previously working now it is returning an error saying "Invalid Formula. Expected a Value compatibale with the data source"

 

Did something change on PowerApps? Do I need to be doing something differently?

1 ACCEPTED SOLUTION

Accepted Solutions
SheltonThompson
Frequent Visitor

Solved my own issue. I was using the same global variable accross multiple data sources . Once I created a unique "itemselected" for each data source and reset the variables, the issue disappeared. 

View solution in original post

1 REPLY 1
SheltonThompson
Frequent Visitor

Solved my own issue. I was using the same global variable accross multiple data sources . Once I created a unique "itemselected" for each data source and reset the variables, the issue disappeared. 

Helpful resources

Announcements
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.

Super User 2 - 2022 Congratulations

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (3,181)