
Tableau - Format dynamic fields populated using parameters
We are using the Sample - SuperStore dataset for this example. Lets take three measures: Sales, Profit and Quantity. We are creating a parameter to let the user select a measure name and the value on the viz changes dynamically based on the user selection. Next step is to create a calculated field to display the measure dynamically.
Now comes the issue. Calculated field can be formatted only one way: it can either be a currency or a number.