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
Anonymous
Not applicable

Calculated Column in One table based on the other table in Power BI

I have below two tables with no existing relationships.

 

1) LoanTable 

Loan Type

Emp ID

Total Outstanding Amount

 

2) LoanReferenceTable

Loan Type

Interest %

 

Now I need to create a calcuated column in LoanTable which multiplies Total Outstanding Amount with Interest % matching the Loan Type.

 

Please help.

1 ACCEPTED SOLUTION
v-kelly-msft
Community Support
Community Support

Hi  @Anonymous ,

 

Create a column similarly as below:

Column = 
var _lookupvalue=LOOKUPVALUE(LoanReferenceTable[Interest %],'LoanReferenceTable'[Loan Type],'LoanTable'[Loan Type],0)
Return
_lookupvalue*'LoanTable'[Total Outstanding Amount]

And you will see:

vkellymsft_0-1623995445520.png

 

For the related .pbix file,pls see attahced.

 

 

 

Best Regards,
Kelly

Did I answer your question? Mark my post as a solution!

 

View solution in original post

2 REPLIES 2
v-kelly-msft
Community Support
Community Support

Hi  @Anonymous ,

 

Create a column similarly as below:

Column = 
var _lookupvalue=LOOKUPVALUE(LoanReferenceTable[Interest %],'LoanReferenceTable'[Loan Type],'LoanTable'[Loan Type],0)
Return
_lookupvalue*'LoanTable'[Total Outstanding Amount]

And you will see:

vkellymsft_0-1623995445520.png

 

For the related .pbix file,pls see attahced.

 

 

 

Best Regards,
Kelly

Did I answer your question? Mark my post as a solution!

 

amitchandak
Super User
Super User

@Anonymous , if they are connected 1- M

new column in LoanTable 

related(LoanReferenceTable[Interest %])

 

M- 1

maxx(realtedtable(LoanReferenceTable), [Interest %])

 

no relation

 

maxx(filter(LoanReferenceTable,LoanReferenceTable[Loan Type] = LoanTable [Loan Type]  ), [Interest %])

 

refer 4 ways to copy data from one table to another
https://www.youtube.com/watch?v=Wu1mWxR23jU
https://www.youtube.com/watch?v=czNHt7UXIe8

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