Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
99 | |
73 | |
72 | |
49 |
User | Count |
---|---|
145 | |
109 | |
109 | |
90 | |
64 |