I am trying to create a new calculated field that involves a parameter, the parameter is called TaxStatus and data type is string with static values Subject to AMT, Tax Exempt, and Taxable. I attempted to create a calculated field called selected_tax_status_amount all the columns are named correctly and Total Volume is a column that was renamed.
ifelse(
${TaxStatus} = “Taxable”,
ifelse(
({srs_mstr_fdrl_txbl_flag} = 1) OR ({srs_mstr_st_txbl_flag} = 1),
{Total Volume},
0.0
),
ifelse(
${TaxStatus} = "Tax Exempt",
ifelse(
({srs_mstr_fdrl_txbl_flag} = 0) AND ({srs_mstr_st_txbl_flag} = 0),
{Total Volume},
0.0
),
ifelse(
({srs_mstr_fdrl_alt_min_tax_flag} = 1) OR ({srs_mstr_st_alt_min_tax_flag} = 1),
{Total Volume},
0.0
)
)
)
error i am getting: Expression {{argumentName}} for function {{functionName}} has incorrect argument type {{incorrectArgumentType}}. Function syntax expects {{functionSignature}}.