I wanted to have a parameter at the same time works as a filter. For ex. I wanted to select Zone 1, it should display mgr1 and mgr2. I created a calculated field based on my research but it’s giving an error
‘Expression contains(‘Mgr1’,‘Mgr2’, {manager_login_lvl_2}) for function contains has incorrect argument type contains(String, String, String). Function syntax expects String, String
String, String, Boolean
String, String, StringComparisonMode.’
Sorry, I’m also confused as I’m not an expert to quicksight but what I want to do is basically display the value of managers (mgr1, mgr2) from manager_login_lvl_2 field if a zone is selected in this case Zone 1. Not sure if I’m making sense. Thank you
HI @lgumera
so the parameter ${Zonemanager} contains Zone1, 2 and 3. Right?
what is the value of the parameter ${manager_login_lvl_2} or should it be a field?
Maybe it will help if you can show some sample data.
@ErikG Zonemanager contains, Zone 1-3. manager_login_lvl_2 is actually a field that contains all the managers. Please see screenshot. The OM column is the manager (manager_login_lvl_2). If I wanted to filter using parameter by Zone, I wanted to only show the managers that belongs to Zone 2 for the below example. Is this possible?
Hi @lgumera,
It’s been awhile since last communication on this thread; did you have any additional questions or were you able to find a work around for your case?
In regards to limiting your visual to only return zone 2, have you tried setting up a filter for the parameter that only returns zone 2?
Let us know if you have any additional questions, otherwise, if we do not hear back within the next 3 business days, I’ll close out this topic.
Hi @lgumera,
Since we haven’t heard back from you in a while, I’ll close out this topic. However, if you have any additional questions, feel free to create a new post in the community and link this post for relevant information if needed.