cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mrleetyler
Resolver I
Resolver I

multiple results from a filter / lookup

Hi all,

 

i have a gallery that i am trying to pull mulitple results from an SQL table 

 

I need to get the ID reference from another table which i get from 

Filter(MissionCrew,MissionID = Value(varMissionNumber))

 

this works and outputs multiple results, however i need to pull this data from a second table and nest this query.

 

my idea was do something like

 

Filter(Crew,Filter(MissionCrew,MissionID = Value(varMissionNumber))=ID)

 

however it says the "=" is incompatible. 

 

can anyone assist on how i can get the data from my "crew" table using the results from my original filter.

 

 

thanks so much

1 ACCEPTED SOLUTION

Accepted Solutions
mrleetyler
Resolver I
Resolver I

figured it out:

 

for anyone else in the future:

 

you need to put ".<columnname>" at the end of the first filter to allow the first filter to display 1 column only.

 

 

 

Filter(Crew, ID in Filter(MissionCrew,MissionID = Value(varMissionNumber)).CrewID)

View solution in original post

1 REPLY 1
mrleetyler
Resolver I
Resolver I

figured it out:

 

for anyone else in the future:

 

you need to put ".<columnname>" at the end of the first filter to allow the first filter to display 1 column only.

 

 

 

Filter(Crew, ID in Filter(MissionCrew,MissionID = Value(varMissionNumber)).CrewID)

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 is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (93,223)