Hi everyone,
I’m encountering an issue in AWS QuickSight where a parameter (info_tenantalias
) that I’ve set up is not being recognized correctly within a calculated field. My goal is to display different SVG logos based on the value selected from a dropdown control linked to this parameter.
Setup:
- Parameter: I created a string parameter named
info_tenantalias
. - Control: I added a dropdown control linked to this parameter with values
numobile
andkogan
. - Calculated Field: The calculated field I created looks like this:
sql
Copy code
ifelse(
${info_tenantalias} = 'numobile', 'https://example.com/client1-logo.svg',
${info_tenantalias} = 'kogan', 'https://example.com/client2-logo.svg',
'https://example.com/default-logo.svg'
)
- Custom Content: I’m using this calculated field to dynamically display an SVG image in a Custom Content visual.
Problem:
- I receive the error: “Parameter info_tenantalias is missing in expression.”
What I’ve Tried:
- I’ve double-checked the parameter’s existence and linkage to the control.
- I re-created the parameter and control to ensure there are no configuration issues.
- I’ve also tried different syntax approaches but still encounter the same issue.
Question:
Has anyone experienced a similar issue or can provide insights on why this parameter might not be recognized within the calculated field? Are there alternative approaches to dynamically display content based on a parameter in QuickSight? Any guidance would be greatly appreciated!