cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

comparing column values to get the related field value as output

Hi Team,

In column "Output", I want to get the "Function" value of "Related Task".

Example : For TASK ID "TASK-1151", RELATED TASK ID is "TASK-1151".

So, the output value is "Others".

need help.jpg

Kindly help me , how to acheive this. ?

Best Regards,
Mahesh

2 ACCEPTED SOLUTIONS
Ani1991
Resolver III
Resolver III

Hi @Anonymous,

 

If I understood your question correctly, I have the below solution.
I prepared the sample data similar to that of yours as below. 
image.png
Once you have this data click on Edit Queries and select Merge Queries. You will get a pop up window like below. Select the same table name in the second drop down. Now select Related Task Id column for the above table and Task ID for the below table and select Left Outer Join and click on OK.
image.png

Now click on expand table and select the new column as below.Change its name to Output.
image.pngimage.png
The final output is as below. Click on Close and Apply and use the results in a table visual.

image.png

Hope this helps!!

 

Thanks,

Ani

View solution in original post

Anonymous
Not applicable

Hi @Ani1991 ,

 

Thanaks for your answer. Your solution will works fine.

 

But you had given complex process. Myself found another solution, which is simple and easy.

 

DAX : 

Output = LOOKUPVALUE(GetIssues[Function ],GetIssues[Task ID],GetIssues[Related Task ID])

View solution in original post

2 REPLIES 2
Ani1991
Resolver III
Resolver III

Hi @Anonymous,

 

If I understood your question correctly, I have the below solution.
I prepared the sample data similar to that of yours as below. 
image.png
Once you have this data click on Edit Queries and select Merge Queries. You will get a pop up window like below. Select the same table name in the second drop down. Now select Related Task Id column for the above table and Task ID for the below table and select Left Outer Join and click on OK.
image.png

Now click on expand table and select the new column as below.Change its name to Output.
image.pngimage.png
The final output is as below. Click on Close and Apply and use the results in a table visual.

image.png

Hope this helps!!

 

Thanks,

Ani

View solution in original post

Anonymous
Not applicable

Hi @Ani1991 ,

 

Thanaks for your answer. Your solution will works fine.

 

But you had given complex process. Myself found another solution, which is simple and easy.

 

DAX : 

Output = LOOKUPVALUE(GetIssues[Function ],GetIssues[Task ID],GetIssues[Related Task ID])

View solution in original post

Helpful resources

Announcements
MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

July 2021 Update 768x460.png

Check it out!

Click here to read more about the July 2021 Updates

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Urdu Hindi D365 Bootcamp 768x460.png

Urdu Hindi D365 Bootcamp

Dont miss our very own April Dunnam’s The Developer Guide to the Galaxy! Find out what the Power Platform has to offer for the traditional developer.

Top Solution Authors
Top Kudoed Authors