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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors