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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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