March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi,
My data looks like the picture below. What i need to do is a calculated column (green), where each Child gets the name of the Parent.
- Each Child has a Parent
- The Parent column works as a lookup for the ID column in the same table
What i have so far is:
CALCULATE(MAX('Table'[Name]),
FILTER('Table','Table'[ID]=EARLIER('Table'[Parent])))
--> This produces empty values. Does anyone have an idea how to fix this?
Solved! Go to Solution.
Hi, @CarlsBerg999 ;
You could use column or measure by dax:
COLUMN =
CALCULATE(MAX('Table'[Name]),
FILTER('Table','Table'[ID]=EARLIER('Table'[Parent])))
Measure =
CALCULATE(MAX('Table'[Name]),
FILTER(ALL('Table'),'Table'[ID]=MAX('Table'[Parent])))
The final show:
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Please click thumbs up and accept one of the solutions. Thank you.
Hi, @CarlsBerg999 ;
You could use column or measure by dax:
COLUMN =
CALCULATE(MAX('Table'[Name]),
FILTER('Table','Table'[ID]=EARLIER('Table'[Parent])))
Measure =
CALCULATE(MAX('Table'[Name]),
FILTER(ALL('Table'),'Table'[ID]=MAX('Table'[Parent])))
The final show:
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Try this ....
Goal =
Thanks for reaching out for help.
I have helped you, now please help me by giving kudos.
Remeber we are unpaid volunteers.
Click the thumbs up and accept as solution button.
One question per ticket please. If you need to extend your request then please raise a new ticket.
You will get a quicker response and each volunteer solver will get the kudos they deserve. Thank you !
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
124 | |
89 | |
84 | |
70 | |
51 |
User | Count |
---|---|
206 | |
143 | |
97 | |
79 | |
68 |