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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Fabcon_Europe_Social_Bogo

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

Top Solution Authors