cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Super User

Re: Power Query

Hi @Andrei 

 

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

Then Expand the AllRows Column

 

grby.png

View solution in original post

2 REPLIES 2
Super User
Super User

Re: Power Query

Hi @Andrei 

 

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

Then Expand the AllRows Column

 

grby.png

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
Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

Ask Amanda Anything Q&A

Ask Amanda Anything Q&A

Learn the answers to some of the questions asked during the Amanda Triple A event.

October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Solution Badges

New Solution Badges

Two waves of brand new solution badges are coming! Read the article for more information on our new community badges.

Users Online
Currently online: 315 members 3,122 guests
Please welcome our newest community members: