cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Andrei Frequent Visitor
Frequent Visitor

Power Query

Hi all,

I need to solve the following problem in Power Query . I need to find tha max of the date column per client and repeat that information in a separate column until the client name changes. I know how to do this in Excel, but this data is imported in Power Query from a different source, so i need to solve this in Power Query. Can't find an easy way to compare rows in Power Query.

Please find bellow a data sample.

 

Kind regards,

Andrei

 

ClientRepaymentDateRequired
abc$1001/02/201901/12/2019
abc$1001/03/201901/12/2019
abc$1001/04/201901/12/2019
abc$1001/05/201901/12/2019
abc$1001/06/201901/12/2019
abc$1001/07/201901/12/2019
abc$1001/08/201901/12/2019
abc$1001/09/201901/12/2019
abc$1001/10/201901/12/2019
abc$1001/11/201901/12/2019
abc$1001/12/201901/12/2019
xyz$1201/01/202201/11/2022
xyz$1201/02/202201/11/2022
xyz$1201/03/202201/11/2022
xyz$1201/04/202201/11/2022
xyz$1201/05/202201/11/2022
xyz$1201/06/202201/11/2022
xyz$1201/07/202201/11/2022
xyz$1201/08/202201/11/2022
xyz$1201/09/202201/11/2022
xyz$1201/10/202201/11/2022
xyz$1201/11/202201/11/2022
1 ACCEPTED SOLUTION

Accepted Solutions
Super User III
Super User III

Re: Power Query

Hi @Andrei 

 

You can do it from Query Editor's user interface as follows.

Then Expand the AllRows Column

 

grby.png

Try my new Power BI game Cross the River

View solution in original post

2 REPLIES 2
Super User III
Super User III

Re: Power Query

Hi @Andrei 

 

You can do it from Query Editor's user interface as follows.

Then Expand the AllRows Column

 

grby.png

Try my new Power BI game Cross the River

View solution in original post

Andrei Frequent Visitor
Frequent Visitor

Re: Power Query

Thanks for your help, but this is just filtering the table by client and showing me the max date for that client. i need it unfiltered with that max date repeating on a different column until the client name changes.

Helpful resources

Announcements
Coming Soon: T-Shirt Design Contest

Coming Soon: T-Shirt Design Contest

Keep your eyes open for our upcoming T-shirt design contest!

Meet the 2020 Season 1 Power BI Super Users!

Meet the 2020 Season 1 Power BI Super Users!

It’s the start of a new Super User season! Learn all about the new Super Users and brand-new tiered recognition system.

Super User Challenge: Can You Solve These?

Super User Challenge: Can You Solve These?

We're celebrating the start of the New Super User season with our first ever Super User 'Can You Solve These?' challenge.

Power BI Desktop Update - February 2020

Power BI Desktop Update - February 2020

We are super excited for our update this month, as we are releasing two of our top community requests!

Power Platform Online Conference

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

Top Solution Authors