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
PBI_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

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.

Get Ready for Power BI Dev Camp

Microsoft named a Leader in The Forrester Wave

Microsoft received the highest score of any vendor in both the strategy and current offering categories.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Kudoed Authors