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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
kevardll
New Member

Is it possible to make a new table that is based on data of two other tables in PowerBI?

Hi guys,

I have the following two tables:

table 1 (Excel file 1):

customerID      yearly_forecast
324343             68400
753454             30000

table 2 (Excel file 2):

year           month              percentage
2020              10                 7%
2020              11                 7%
2020              12                 9%
2021              01                 11%
2021              02                 12%

New table needs to get the data as followed (example data):

customerID    percentage       yearly_forecast     monthly_forecast      year         month
3234343         7%                     68400                    4788         2020        10
3234343         7%                     68400                    4788         2020        11
3234343         9%                     68400                    5444         2020        12
3234343         11%                    68400                    5444         2020        12
3234343         9%                     68400                    5444         2020        12
753454          7%                     30000                    2533         2020        10
753454          7%                     30000                    2533         2020        11

etc..

If anyone knows whether this is possible and how to produce it in PowerBI I would be lifetime thankful 🙂

 

1 ACCEPTED SOLUTION
Rayshin
Memorable Member
Memorable Member

@kevardll 

yes possible.  it's a very common pattern
https://www.daxpatterns.com/budget/
need a year column or customerid column to use as the join condition
If they both have a 'year' column, I think you're looking for
- Table 2 left outer join with table 1
- using the column year
You might not need the outer if there's no missing values

 

View solution in original post

1 REPLY 1
Rayshin
Memorable Member
Memorable Member

@kevardll 

yes possible.  it's a very common pattern
https://www.daxpatterns.com/budget/
need a year column or customerid column to use as the join condition
If they both have a 'year' column, I think you're looking for
- Table 2 left outer join with table 1
- using the column year
You might not need the outer if there's no missing values

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.