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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

Index match Duplicate

Hi All

Il make this simple to understand

I have a data - for example Name and Location 
Each time a duplicate name appears down the row -indicate person most recent location.
For example 

Name        Location
John 1         Milan   
John 1        London

in excel i use the index match function - as the Match(fx) will bring me John 1 (row level 2 (most recent entry))

how do i trnslate it into PBI - 🙂

1 ACCEPTED SOLUTION
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @Anonymous,

Have you solved your problem?

If you have solved, please always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.

If you still need help, please feel free to ask.

Best Regards,

Cherry

 

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @Anonymous,

Have you solved your problem?

If you have solved, please always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.

If you still need help, please feel free to ask.

Best Regards,

Cherry

 

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Nishantjain
Continued Contributor
Continued Contributor

You will need a third row that you can use to find the latest entry. In Excel, you can use the row but in Power bi, you don't have that. 

 

You can add it in two ways

 

1. In Power Query, add an index column. Make sure you sort your data in the right order before you add the index column

 

2. Better still, you can use another column such as date. 

 

Next, use the third column to identify the last entry using max/ rankx function ( or something similar). 

 

Thanks

v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @Anonymous ,

 

I still have a little confused about your requirement. 




in excel i use the index match function - as the Match(fx) will bring me John 1 (row level 2 (most recent entry))



 

If it is convenient, could you share your desired output so that I could understand your logic better and get the solution.

 

Best  Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

November Carousel

Fabric Community Update - November 2024

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

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.