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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
aherabit
Helper I
Helper I

lookup same table for referenced field values

Hi Folks,

I have a problem with looking the same table and capturing its values for referenced field values.

 

Here is my data table:

data table

issue idabstractrelated_issue_id
x-123abstract-x123y-543
x-234abstract-x234 
x-654abstract-x654 
y-543abstract-y543x-123
y-657abstract-y657 

 

 

I would like to capture the 'abstract' field values for all related_issues to produce the following visual/table:

(desired output)

issue idabstractrelated_issue_idabstract_related_issue
x-123abstract-x123y-543abstract-y543
x-234abstract-x234  
x-654abstract-x654  
y-543abstract-y543x-123abstract-x123
y-657abstract-y657  

 

Thank you very much for any help.

1 ACCEPTED SOLUTION
vicky_
Super User
Super User

Try the following DAX:

abstract related issue = CALCULATE(MIN('Table'[abstract]), ALL('Table'), TREATAS(VALUES('Table'[related_issue_id]), 'Table'[issue id]))

 

View solution in original post

3 REPLIES 3
vicky_
Super User
Super User

Try the following DAX:

abstract related issue = CALCULATE(MIN('Table'[abstract]), ALL('Table'), TREATAS(VALUES('Table'[related_issue_id]), 'Table'[issue id]))

 

Hi Vicky.

If we expand on the solution by caluclating the following output:

defectepicepic descriptionrequirements
s-2s-20description s-20s-101
s-18s-15epic description s-15s-3, s-4
s-205s-15epic description s-15s-101

 

from the following data source:

issue keytypedescriptionepic link
s-2defectdefect description s-2s-20
s-3requirementrequirement description s-3s-15
s-4requirementrequirement description s-4s-15
s-15epicepic description s-15 
s-18defectdescription s-18s-15
s-20epicdescription s-20 
s-101requirementdescription s-101s-20
s-205defectdescription s-201s-15

 

Could you lend a hand?

thank you very much!

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.