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! Learn more

Reply
BIstudent
New Member

Creating a Measure Using Two Tables and a Filter

Hello,

I recently started using Power BI and I am having trouble getting the result I want.

 

My Data:

I have a dimension table containing information about airports, like name and location.  I also have a fact table containing flights per month per year, for each airport.  A diagram of the tables is below.

Capture.PNG

 

My Problem:

I want to calculate what percentage of a region’s flights occur at each airport in that region per month per year.  Ultimately, I want to place this calculation in a chart.

 

I have been able to create a measure that calculates the percent of national flights that occurred in a region but haven’t been able to apply this to the airports within the region.

 

AtlanticFlights = CALCULATE(SUM(fFlights1[Flights]),Airports3[Region] = "Atlantic")

 

Any help would be very appreciated.

 

Thanks in advance.

2 REPLIES 2
v-joesh-msft
Solution Sage
Solution Sage

Hi @BIstudent ,

I'm a little confused by your description. Sample data and expected output would help tremendously. Please see this post regarding How to Get Your Question Answered Quickly:
https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490

Best Regards,
Community Support Team _ Joey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Ashish_Mathur
Super User
Super User

Hi,

Share some data and show the expected result in a Table format.  Do not bother about the final desired chart right now.  First let's get the correct result in a Table.  We can thereafter always switch the visual to any chart.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.

Top Solution Authors