Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi,
In Power BI Desktop,
I have this table Table 1:
I want to create a new column for Parent Name.
I tried creating another table Table 2:
I want to do a SQL query something like
Select Name
From Table 2
Where Table 2.ID = Table 1.Parent ID
to get a new column for Parent Name.
How can I do that? or achieve this any other way?
Thanks
Solved! Go to Solution.
@Anonymous
I think you can do a simple LOOKUP within the same table
Try Adding this calculated column
Parent Name=LOOKUPVALUE([Name],[ID],[Parent ID])
@Anonymous
I think you can do a simple LOOKUP within the same table
Try Adding this calculated column
Parent Name=LOOKUPVALUE([Name],[ID],[Parent ID])
OMG, I cannot thank you enough. That solved my problem instantly. I had been searching for this kind of function for hours.
Thanks so much.
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 |
---|---|
78 | |
75 | |
58 | |
36 | |
33 |
User | Count |
---|---|
100 | |
62 | |
56 | |
47 | |
41 |