I am creating a Line graph where I have to provide X-axis, Value, Colour, & Small Multiples. I want to provide users with a dynamic selection where they can select any “Value” from a given set of columns from the dataset.
Here we are manually providing values for each selection. For example - when ‘Sales’ then {sales}, when ‘Employees’ then {employee_id}. I want this part to be automated. If in future there are addition to my metrics then I don’t have to go and update the calculated field.
You could make a dataset that you could query to add in the possible list of selections on the control, but at the end of the day you would need to add the new column name and column field in the calculated field to have it linked.