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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Anonymous
Not applicable

[DAX Measure] Referencing another table to add a calculated value

Hello All,

 

I am currently stuck with this use case below and would greatly appreciate any input.

 

Building a POC off of Azure Analysis Services so I have limitations around creating calcualted columns and M.

 

I have two data tables that look like below:

 

Origin Table

Id

Start X

Start Y

123

0

0

123

4

7

123

8

20

123

20

76

345

0

0

345

7

10

 

Parent Table

Id

Origin X

Origin Y

123

50

25

345

25

76

 

But would like to get the output below with DAX

 

Expected Dax Output

ID

New X

New Y

123

50

25

123

54

32

123

58

45

123

70

101

345

25

76

345

32

86

 

Can this actually be done on leveraging DAX?

 

 

2 REPLIES 2
Anonymous
Not applicable

Hello!

 

I believe I found a reliable DAX formula for this. First, I assume that the Parent Table only contains each Id once. Therefore, we must first start by creating a one-to-many relationship from the Parent Table to the Origin Table by linking Ids.

 

From there, we can use the following DAX formulas to create custom columns inside the Origin Table:

New X = RELATED('Parent Table'[Origin X]) + [Start X]
New Y = RELATED('Parent Table'[Origin Y]) + [Start Y]

Hope this helps!

Anonymous
Not applicable

Sean, you are not able to add a calculated column, because this model is leveraging AAS. We are only able to create measures.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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