Hello,
In the Datatable below, I am using a collection to populate certain values for a user to view/screenshot an estimate for review.
My collection adds a record for each item selected in a Gallery on a prior screen. What I would like to be able to do in the Datatable below is display only the row with the highest quantity Products.
For example, Product 1 should have only one row with quantity 2, Product 2 should have only one row with quantity 2, Product 3 should have only one row with quantity 2, and Product 4 should have only one row with quantity 4.
I have tried utilizing distinct for this, but as that only returns a one column result, it does not seem to be a strong solution