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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
TheITAnalyst13
Frequent Visitor

Multiply 2 columns from 2 different tables

Hi Team,

 

I'm new in Power BI and i've been struggling doing few things. My only teachers are videos and forums online, I can't seem to crack this one thing.

 

I have 2 columns from 2 tables which i want to multiply:

 

Figure A.JPG

 

Shortage column is based on a formula:

 

Shortage = ('Overdeployment Table'[Regional Entitlement]-'Overdeployment Table'[Regional Deployment])

 

I want to multiply the Shortage column and the Unit Price column to have the Total Amount column. However, i am getting the error below as soon as I select the either the Shortage column or Unit Price column.

 

Error.JPG

 

Please help!!!

3 REPLIES 3
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @TheITAnalyst13,

 

If [Shortage] column and [Unit Price] column exist in the same table as shown in above image, you can directly use this formula to create a calculated column.

Total Amount='TableName'[Shortage]*'TableName'[Unit Price]

If [Shortage] column and [Unit Price] column exist in two related tables, you can firstly combine them in the same table via LOOKUPVALUE or RELATED function based on table relationship. Then, you can still use above formula.

 

For more advice, please provide sample data of both two tables.

 

Regards,

Yuliana Gu

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

Hi @v-yulgu-msft,

 

There are 3 tables which are Related to reflect the Shortage Column.Relationship.JPG

 

This relationship allows to dynamically show the Shortage and Unit Prices based on month.

 

What I would like achieve is to have a calculation of the Total Amount (USD) based on the quantity in Shortage Column and Unit Price column.

 

 

Overdeployment Table

Overdeployment Table.JPG

Anonymous
Not applicable

Since the storage column is from another table, try to use RELATED function and see if it works

 

Total Amount='TableName'[Unit Price]*RELATED('TableName'[Storage])

Helpful resources

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

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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