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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Replace value

Hello all, I have some trouble finding the solution to the following problem:

 

I want to replace the value of (row x, column x) with the value of (row n, column n), where the value of (row x, column x) and row n match. To make this problem more clear, see the following tables:

 

IssueEpic LinkEpic Name
AA-XXX1 "Name Epic 1"
AA-XXX2AA-XXX1 
AA-XXX3AA-XXX1 
AA-XXX4  
AA-XXX5AA-XXX1 
AA-XXX6 "Name Epic 2"
AA-XXX7AA-XXX6 

 

I would like to replace the Epic Link value with the matching Epic Name value, resulting in:

 

IssueEpic LinkEpic Name
AA-XXX1 "Name Epic 1"
AA-XXX2AA-XXX1"Name Epic 1"
AA-XXX3AA-XXX1"Name Epic 1"
AA-XXX4  
AA-XXX5AA-XXX1"Name Epic 1"
AA-XXX6 "Name Epic 2"
AA-XXX7AA-XXX6"Name Epic 2"

 

Hopefully someone knows how to solve this, thank you in advance 🙂 

1 ACCEPTED SOLUTION
mahoneypat
Microsoft Employee
Microsoft Employee

You can add a DAX column with this expression to get your result.

 

EpicName2 =
VAR thisepiclink = Issues[Epic Link]
VAR result =
    MINX ( FILTER ( Issues, Issues[Issue] = thisepiclink ), Issues[Epic Name] )
RETURN
    IF ( Issues[Epic Link] = "", Issues[Epic Name], result )

 

Pat

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


View solution in original post

2 REPLIES 2
mahoneypat
Microsoft Employee
Microsoft Employee

You can add a DAX column with this expression to get your result.

 

EpicName2 =
VAR thisepiclink = Issues[Epic Link]
VAR result =
    MINX ( FILTER ( Issues, Issues[Issue] = thisepiclink ), Issues[Epic Name] )
RETURN
    IF ( Issues[Epic Link] = "", Issues[Epic Name], result )

 

Pat

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Anonymous
Not applicable

Thank you Pat, that did the job! 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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