Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
nareshupadhyay
Frequent Visitor

Get the data based on another column

Hi Team

 

I am new in Power BI and working on report. I got stuck at point and need your help.

 

I have below mention coulumns in a table. in this table, I have Parent task e.g., Test_Timesheets and same has TFSIDTask 67890.

Under this task, we have chield task e.g., Parent TFS task and same has TFSIDTask as well. Every task has taskID and it's task ID will ParentTaskID for chield task. 

Now, I need to create another column which shows Parent TFSIDTask for chield. Can someone please help me get Parent TFSIDTask for Chield?

nareshupadhyay_0-1634154806988.pngnareshupadhyay_1-1634154836683.png

 

Thanks 

Naresh

1 ACCEPTED SOLUTION
v-angzheng-msft
Community Support
Community Support

Hi, @nareshupadhyay 

 

Try to create a column like this:

Column = LOOKUPVALUE([TFSIDTask],[TaskId],[ParentTaskId])

Result:

vangzhengmsft_0-1634608396772.png

Please refer to the attachment below for details. Hope this helps.

 

 

Best Regards,
Community Support Team _ Zeon Zheng


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-angzheng-msft
Community Support
Community Support

Hi, @nareshupadhyay 

 

Try to create a column like this:

Column = LOOKUPVALUE([TFSIDTask],[TaskId],[ParentTaskId])

Result:

vangzhengmsft_0-1634608396772.png

Please refer to the attachment below for details. Hope this helps.

 

 

Best Regards,
Community Support Team _ Zeon Zheng


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

nareshupadhyay
Frequent Visitor

Hi,

I need to get parent TFSIDTask in another Column for its chield. e.g., TFSIDTask 67890 is parent for 23456 and 12345 then I would like to have 67890 in another column infront of 23456 and 12345.

 

Thanks

Naresh

xander2121
Frequent Visitor

Hello Naresh,

 

I am not able to understand your question. Can you explain it a bit more?

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors