Forum Discussion

amtbew's avatar
amtbew
Icon for Helper I rankHelper I
2 years ago
Solved

Identify and list Minimum Value

Here's some sample data. 

 

ProductVendor NameCost
ID1Joe10
ID1John15
ID2Joe5
ID3Jane10
ID3Joe15

 

I'd like to find the minimum value in the Cost Column for each distinct Product. 

 

This is the result I'd like to be able to see.

ProductVendorCost
ID1Joe10
ID2Joe5
ID3Jane10

 

The next step would be summing the lowest cost to see the total cost for all 3 products.

 

Thanks

3 Replies

    • amtbew's avatar
      amtbew
      Icon for Helper I rankHelper I

      Ahmedx thanks for the reply. If I include the Vendor name in the table, then it shows the products multiple times. 

       

      How do I go about acheiving this result?

      ProductVendorCost
      ID1Joe10
      ID2Joe5
      ID3Jane10