I'm struggling to build a saved search to display available inventory for kit items. I need it sum the member item inventory at all locations and take the minimum value as that would be the most full kits we could sell given the limited quantity of a member item. How do I do a minimum of a sum?
a
AK47
04/12/2023, 11:02 PM
@Greg Griffin try doing using the minimum function on a formula, and then in the formula put SUM({locationavailable})
AK47
04/12/2023, 11:03 PM
i think it should work. If not, definitely doable in suitanalytics
a
AI1
04/13/2023, 2:16 AM
You would want to divide location available by member quantity. Then group by kit item number and MIN of formula
Columns are:
Name (group)
Description (group)
Formula (numeric) (minimum) ROUNDDOWN({memberitem.locationavailable}/NULLIF({memberquantity}, 0), 0)
AI1
04/13/2023, 2:16 AM
That will give you the total number of complete kits you can make