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
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (4,752)