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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount 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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors