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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.