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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Tota13
Regular Visitor

DAX new Calculated table

Hi 

 

i want to create a new calculated table that get me the follwoing results: 

 

Flights handled

Main

1,2,3,4,7

A

3,4

B

1,2,6

C

6,7,8,9,10

D

4,5,9

E

8,9,10

F

 

and i have two tables one called flights and has these 4 columns: Flight number, fromtopair, from, to and the other table called Airports have two columns Main, sub. i want the new calculated column to get the flight numbers that the main airport or it's sub has handled. when the main airport or it's sub airport are one of the From or To column then we add the flight number to the main airport and the result should be like the table above. how can i do that in dax ? 

3 REPLIES 3
v-zhangti
Community Support
Community Support

Hi, @Tota13 

 

Can you provide some of the example data from the 2 tables and give examples of how to get the results you expect?

 

Best Regards

Fowmy
Super User
Super User

@Tota13 

It will be helpful if you could create a Power BI file with dummy data that represent your actual scenario and share it here. You may save the file in Google Drive and share the link here and grant permission to access the file. Explain the expected output as well.

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Tota13
Regular Visitor

i need to make a new table such as the table above excuse me by mistake i wrote calculated column. 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.