Skip to main content
Question

How can we see on the Master table, the cheapest company from the Details Table?

  • June 27, 2017
  • 0 replies
  • 61 views

Our Master table consists of products & our details table consist of Suppliers which they all have different pricing 

We want to see the cheapest supplier name on the master table?

https://www.screencast.com/t/ytpM2wvD2


Is this possible  to do?

Any workarounds?  We need it badly & I know very smart people are here with a lot of knowledge 
This topic has been closed for replies.

  • Quickbase Alumni
  • June 27, 2017
I'm going to assume you have 3 tables in this set up.

(1) Products
(2) Vendors

and the joined table of call it (3) Product Sources

Each vendor & each product will have many product sources.

Then you can enter the prices for each supplier on the items.  Then you can summarize the cheapest supplier cost.  And really do anything else you need to.

If you need more details let me know.

  • Author
  • Quickbase Alumni
  • June 27, 2017
First thanks for your help 

Your assumption was good, we have 3 Tables, but I want the cheapest Supplier NAME to show up in the products table, not the Cheapest PRICE

Can this be done?

  • Quickbase Alumni
  • June 27, 2017
if you use the summary field  pull over the Record ID of the cheapest supplier cost, you can set up a separate relationship based on that RecordID and pull over whatever from that record.

might be a simpler way to go, but it works for us 'mere mortals'. :)

  • Quickbase Alumni
  • June 27, 2017
Yep, you are on the right track.  

You will need to summarize the cheapest PRICE first,
>
then send that price back down to the joined table as a lookup field
>
Then summarize the minimum Record ID# with the condition of [Price] is equal to the value in the field [New summarized lookup price field].  Say its something like [Cheapest Joined Record ID#]

This will give you the record ID# for that joined record.
>
Then ( you create something that I really don't like doing, but for this case it might be the best option)  you create a reverse relationship.
>
Each "Joined Table Record" will have many "Products", but for the field of the relationship be sure to use the [Cheapest Joined Record ID#]
>
then you can pass the name, and any other information as lookup fields to the Product table.

  • Author
  • Quickbase Alumni
  • June 28, 2017
Is this method called "reverse relationships"?

  • Author
  • Quickbase Alumni
  • June 28, 2017
Why is the reason that you don't like to do the reverse relationship?

What are the disadvantages?

  • Author
  • Quickbase Alumni
  • June 28, 2017
Thank you for your help, it's it's working excellent