1. Tableau Help
"Create Parameters"
Section: "Parameters in calculations". Official documentation states
"A common use for parameters is in calculations. You can reference the parameter in the calculation
and then you can show the parameter control in the view for users to select." This supports using a parameter for vendor selection to drive a calculation.
2. Tableau Help
"Swap Measures Using Parameters". This document provides a direct parallel to the required solution. While the example swaps measures like Sales and Profit
the principle is identical: using a parameter and a CASE statement within a calculated field to dynamically change the logic based on user input. The question requires swapping the cost calculation logic based on the selected vendor.
3. Tableau Help
"Use Parameters to Add More Interactivity to Your Views". This guide explains how parameters allow users to "input values into calculations to see how the data changes." This is the exact functionality needed for the client to model shipping costs by selecting different vendors. The document emphasizes this as a method for creating interactive
what-if scenarios.