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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
mwnance
Helper I
Helper I

Look Up not working as expected

I have table AllWorkItems which has an ID  (ID can be in there multiple times)  and a title

 

Table WorkItemLink  has 2  Ids.   source ID and Target Id.

 

If I do this lookup   

IDTitle = LOOKUPVALUE(AllWorkItems[Title], AllWorkItems[Work Item Id], WorkItemLinks[SourceWorkItemId], AllWorkItems[Is Current], TRUE)
I get the Title from the Table.
 
If I do this and try to search AllWorkItems by Target ID i get a blank
TargetIDTitle = LOOKUPVALUE(AllWorkItems[Title], AllWorkItems[Work Item Id], WorkItemLinks[TargetWorkItemId], AllWorkItems[Is Current], TRUE)
 
I know the Target Id is in the AllWorkItems.   but it is not listed as a source Id in WorkItems links.. is that possibly the problem?
 
Cant figure out why this is not working
 
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @mwnance ,

I can't reproduce your problem, you can find the details in the attachment. Could you please check if there is any space in the field WorkItemLinks[TargetWorkItemId] to cause that there is no matched Work Item Id in the table AllWorkItems and  get the title?

yingyinr_0-1661244721637.png

If it is convenient, could you please provide some sample data in these two tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community

Best Regards

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi  @mwnance ,

Whether your problem has been resolved? If yes, could you please mark the helpful post as Answered? It will help the others in the community find the solution easily if they face the same problem as yours. Thank you.

Best Regards

Anonymous
Not applicable

Hi @mwnance ,

I can't reproduce your problem, you can find the details in the attachment. Could you please check if there is any space in the field WorkItemLinks[TargetWorkItemId] to cause that there is no matched Work Item Id in the table AllWorkItems and  get the title?

yingyinr_0-1661244721637.png

If it is convenient, could you please provide some sample data in these two tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community

Best Regards

Ashish_Mathur
Super User
Super User

Hi,

Share some data and show the expected result very clearly.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors