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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
plmiquelon
Frequent Visitor

Link from one table to many

I have a main table called Overview extracted from a project management software in which i have the following column

 

Project 

First Name

Last Name

Hours logged

 

For each project, I have a Rate table with the following column

First Name

Last Name

Rate

 

I want to extract the cost of each project by multiplying the rate x hours logged. 

 

How can I have my main table have one RATE column that populates based on the project specific rate?

 

Thank you,

3 REPLIES 3
plmiquelon
Frequent Visitor

@amitchandak that work. What if I have multiple projects (so multiple Table 2), can I use an OR condition?

Ashish_Mathur
Super User
Super User

Hi,

Assuming there is a Project column in Table2 as well, write this calculated column formula in Table1

Rate = calculate(sum(Table2[Rate]),filter(table2,table2[Project]=earlier(table1[Project])&&table2[First name]=earlier(table1[first name])&&table2[Last name]=earlier(table1[last name])))

Hope this helps.


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

@plmiquelon , A new column in Table 1

 

MAxx(filter(Table2, Table2[First Name] = table1[First Name] && Table2[Last Name] = Table1[Last name]) , Table2[Rate])

 

This will rate in Table1 as column, which you can multiply

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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.

Top Solution Authors
Top Kudoed Authors