Hi,
Background, I am trying to build a powerapp into my power BI dashboard. What I have done is build out a Sharepoint online list and connect it to my BI dashboard. Then I use the custom powerapps visual in my dashboard to create a new app using the uploaded data from Sharepoint. It takes me over to my powerapps platform to build out the powerapp at that point.
Problem: I have a gallery built from the powerbiintegration that I have connected to the powerapp, this gallery seems to work fine. The problem is, when I am trying to build a form that is connected to the Sharepoint data set directly (so I can write to the data directly), it doesnt seem to understand or have a primary key or something, that links the two data sets (powerbiintegration & Sharepoint list). I am trying to have the form "item" use Gallery1.Selected , to select the parent or that particular data set selected. I continue to get this error message though "Invalid formula, expected a value compatiable with data source", and I'm not sure how to fix it. Not even sure whats wrong with it. I'm following the same process that multiple video tutorials follow, and this problem does not arise in those videos. Does anyone know how to fix this or how to work around it? (preferrably fix the problem)
Here is my sharepoint data set. Same data set is connected to Power BI and connected to powerapps to write directly to this data set.

Follow up question: The above seems to be the correct way to edit the powerapp data that is also connected to the sharepoint list. But is there a way to have just the one initial gallery screen on the app, that is linked to the powerbiintegration data. And insert a test input box that could update the sharepoint list directly using a patch function, instead of having to navigate to a separate form screen, that is connected to the other data set? I could not get the patch function to work properly, kept returning a "the value is out of scope" error message.
Just curious if anyone can help me solve this problem, It is much appreciated!!!!
Thank you