cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
KRider
Resolver II
Resolver II

Combining multiple Data Sources and then separating them to LookUp or search

Ok, so todays task. I am looking up Team Member certification. We can view the database by Team Member or by Process. We can then select the Team Member and see his Processes in the 2nd gallery OR we can select the process and see all of the Team Members that know it. Following? Hahaha

 

So, the next step is to take the details given in the 2nd gallery and search for the record in the database to view the completed certificate in a form. The problem: Everything in the galleries are a .Result as I used Distinct to get passed using 2 different databases.

 

My current theory is attempting to use Split in my search. Any thoughts? Maybe set a variable using split? 

 

KRider_0-1661349049882.png

 

 

2 REPLIES 2
Drrickryp
Super User
Super User

@KRider 

It sounds like you have a many to many relationship between process and members. With Dataverse you can use dot notation for the galleries items so you can avoid using distinct.

Good point, but we aren't able to use Dataverse databases as that is a premium. I managed to find a work around 😄 

 

The result string can be broken up using this code:

Set(varSelectedCert, Trim(Last(FirstN(Split(ThisItem.Result, ";"),2)).Result));

 

I do it in a variable to avoid delegation warnings.

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Power Apps Ideas

Changes to Ideas Coming

We are excited to announce a new way to share your ideas for Power Apps!

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