web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Passing data between s...
Power Apps
Answered

Passing data between screens using multiple data sources

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi all,

 

I'm currently writing an application meant to draw information from two data sources on Sharepoint.  I've created a Gallery to select which 'entry' I would like to view and have had no issues getting the information to display on the Detail screen from the first data source. Here's the tricky part:

 

I need to pass on information from the first Detail screen to a secondary detail screen which draws its information from a different data source.  I've created a button to navigate from the first detail screen to the second, and used the navigate action to pass the information I need to the second screen using the following code:

 

Navigate(ObjectivesDetailScreen1, ScreenTransition.Fade, {Number: ID_Card1.DataField})

 

In theory, the data in the ID_Card1 should be the project ID number, which I can then use to find the corresponding project in the other Data source and pull the related information into a form on the next screen.

 

I've created the second screen and its viewing form, and set the data connector to the secondary data source. I am having trouble figuring out how to use the information I passed from the first detail screen to draw the correct information into the form on the second screen (remember, these are two different data sources). I've used the following code in the form's Item function box:

 

First(Filter('Mission Objectives', Number=ID))

 

Which threw an Incompatible Type error.  Specifically, it says "The value on the left is Text type and the value on the right is a Number type."  I've check the Field type from which I'm drawing the 'Number' variable (ID_Card1.DataField) and it says its a number type, which to me means that the ID number is being cast as a string when its passed into the secondary screen. Not sure how to get around this.  Screenshots attached.

Capture.PNG
Capture2.PNG
Categories:
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at
    Have you tried Navigate(ObjectivesDetailScreen1, ScreenTransition.Fade, {Number: Value(ID_Card1.DataField)}) ?
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Yes, but to no avail.  I have also tried:

     

    Navigate(ObjectivesDetailScreen1, ScreenTransition.Fade, {Number: Value(DataCardValue73.Text)})

     

    Which was similarly unsuccessful.

  • Verified answer
    DevendraV Profile Picture
    90 on at

    @Anonymous You may check the Video I created to send the data between two screen with multiple SharePoint data sources.

     

    https://www.youtube.com/watch?v=FQmrd3-5PX0&feature=youtu.be

     

    Hope this helps.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 395 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 260 Most Valuable Professional

Last 30 days Overall leaderboard