Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
aashton
Helper V
Helper V

Help with combining values 2 tables

Hello,

My database consists of Airfare passengers and the flights they took.  I have Passengers table(ID, Name) that links to 2 separate billing tables (Workday T&E and UATP), one to many.  Both billing tables contain the name of the Carrier.  Both Carrier fields link back to the Merchant table, one to many.  See pic below.  I need to list the passengers by carrier.  Example, everybody that took Delta, everybody that took United.  Having trouble putting this together.  

aashton_0-1706304578983.png

 

2 REPLIES 2
Anonymous
Not applicable

Hi @aashton 

 

You can create a measure similar to below to act as a filter field on the visual. Select Carrier column from the Merchant table and Passenger Name column from the Passengers table. 

Passenger's Name = 
VAR _tab1 = VALUES('Workday T&E'[Passenger Name])
VAR _tab2 = VALUES(UATP[Passenger Name])
RETURN
IF(SELECTEDVALUE(Passengers[Name]) IN _tab1 || SELECTEDVALUE(Passengers[Name]) IN _tab2, 1, 0)

vjingzhanmsft_0-1706507910921.png

 

Best Regards,
Jing
If this post helps, please Accept it as Solution to help other members find it. Appreciate your Kudos!

Idrissshatila
Super User
Super User

Hello @aashton ,

 

can you link your pix so we could check how we can help you.



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Top Solution Authors