Forum Discussion
MrPingu
7 years agoFrequent Visitor
Return only rows with max value from specific column
I am trying to only get the max values from a certain column in a table Data looks like this: SalesOrderArchive SalesOrderNo ; Version_No ;MoreColumns SO1 ; 1 ; Datalines SO1 ; 2 ; Datalines S...
- 7 years ago
If you 'Group By' SalesOrderNo and include 'All Rows'
then Expand the table that results.
You will have to remove duplicates and tidy as necessary
Anonymous
4 years agoNot applicable
please see this article: https://www.ehansalytics.com/blog/2020/7/16/return-row-based-on-max-value-from-one-column-when-grouping