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
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
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.