Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
I have a a requiremnet here. The scenario is described below:
Hello,
I have a requirement here where data looks like below
The table data looks like
ID | Parent ID | Name |
1 | 2 | A |
2 | 4 | B |
3 | 1 | C |
4 | 5 | D |
Now i want to find the name of Parent. For example for ID 1 the Parent ID is 2. So i want to return Parent name which in this case would be B.
how can i achieve this?
Please help
Regards
Priyanka
Solved! Go to Solution.
Make a calculated column:
ParentName := LOOKUPVLAUE(DataTable[Name], DataTable[ID], DataTable[Parent ID])
Make a calculated column:
ParentName := LOOKUPVLAUE(DataTable[Name], DataTable[ID], DataTable[Parent ID])
That worked. thank you 🙂
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
94 | |
86 | |
82 | |
70 | |
49 |
User | Count |
---|---|
143 | |
125 | |
108 | |
60 | |
55 |