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!

avatar user

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)