Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
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?
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!
Sean, you are not able to add a calculated column, because this model is leveraging AAS. We are only able to create measures.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
84 | |
76 | |
73 | |
42 | |
36 |
User | Count |
---|---|
109 | |
56 | |
52 | |
48 | |
43 |