cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Andrei
Regular 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
Highlighted
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
Highlighted
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
Regular 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
New Ranks Launched March 24th!

New Ranks Launched March 24th!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power BI Community!

‘Better Together’ Contest Finalists Announced!

‘Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Arun 'Triple A' Event Video, Q&A, and Slides

Arun 'Triple A' Event Video, Q&A, and Slides

Missed the Arun 'Triple A' event or want to revisit it? We've got you covered! Check out the video, Q&A, and slides now.

Join THE global Microsoft Power Platform event series.

Join THE global Power Platform event series.

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities.

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors