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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.