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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
sivarajan21
Advocate V
Advocate V

Calculate a value based on Look up on a particular table to match with current column

Hi,

 

I have two tables as below:

Point id table:

DBName-Point_Id
INSE-2
INSE-3
INSE-6
INSE-7
INSE-1421
INSE-1422
INSE-1438
INSE-1439

 

Contracts table:

DBName-PointIdDBName-ContractsId
INSE-1421INSE-28
INSE-1422INSE-29
INSE-1438INSE-24
INSE-1439INSE-25

 

Contracts data table:

DBName-ContractsIdcost rate
INSE-283.2
INSE-294.5
INSE-246.2
INSE-257

 

Now we want to create a measure to calculae the cost rate which is in contracts data table for each point in point id table.

I am confused how to lookup this DBName-ContractsId for their corresponding DBName-PointId.

 

The relationship b/w these tables :

sivarajan21_0-1689942914901.png

 

Can you please help me resolve this?

Let me know if you need further info.

 

@Ahmedx @lbendlin @Greg_Deckler @amitchandak @Ashish_Mathur @grantsamborn 

1 ACCEPTED SOLUTION
Ahmedx
Super User
Super User

Is this what you are looking for?

Screenshot_4.pngScreenshot_3.png

View solution in original post

4 REPLIES 4
Ahmedx
Super User
Super User

Is this what you are looking for?

Screenshot_4.pngScreenshot_3.png

Hi @Ahmedx 

 

Thanks for this amazing solution! yes perfectly what I was looking for!

You made my day and am still learning from you😊

I will accept this as my solution and close this query.

 

Can you suggest me any books or blogs to better learn power bi ?

Also, please feel free to share any learning style that will enable me to understand power bi like you!

 

 

The Definitive Guide to DAX

Analyzing Data with Power BI and Power Pivot for Excel

 

Hi @Ahmedx 

 

Many thanks

Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors