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. 

View solution in original post

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza Winner Announcement

Please join us on Wednesday, July 21st at 8a PDT. We will be announcing the Winners of the Demo Extravaganza!

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (1,615)