Hi all. I’m trying to create something equivalent to a “metric_name” drop down filter that has the values “# of asins overall”, “# of approved ASINS” and once we filter it from the drop down, only those rows show up? # of asins overall", # of approved ASINS are all existing calculated fields in my pivot table.
I tried:
ifelse(‘# of asins overall’ = ${MetricSelector2}, {#_of_asins_overall},
ifelse(‘# of Approved asins’ = ${MetricSelector2}, {# of Approved asins},
ifelse(‘# of asins Enforced - Under Review’ = ${MetricSelector2}, {# of asins Enforced - Under Review},
‘NA’)))
but keep running into an error:
still running into the same error -Expression {{argumentName}} for function {{functionName}} has incorrect argument type {{incorrectArgumentType}}. Function syntax expects {{functionSignature}}.
MetricSelector2 is a string parameter
Thank you in advance.