cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Super User III
Super User III

Re: Need help on how to set up database

Hi @kattlees 

Thats because I've sorted by Entry Date Time and not by that number, sorry about that. So you have to adjust the 3rd step like so:

 

#"Sorted Rows" = Table.Buffer(Table.Sort(ChangeType,{{"nsma1_formsec", Order.Descending}})),

Imke Feldmann (The BIccountant)

If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!

How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries

Highlighted
Post Patron
Post Patron

Re: Need help on how to set up database

Thank you

Highlighted
Post Patron
Post Patron

Re: Need help on how to set up database

You have been a huge help so thank you, but one more question. Is there a way to keep the earliest entry date and time for a patnum-form-code as a column?  

Helpful resources

Announcements
June 2020 Community Highlights

June 2020 Community Highlights

Featured community members, changes to the Community, and more! Read up on recent Power BI community news.

Using the Community

Using the Community

Need help with the Power BI Community? Our 'Using the Community' support articles are a great place to start.

Community Summit North America

Community Summit North America

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

Power Platform 2020 release wave 2 plan

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors